• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Passing calls to an AS app via shell?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing calls to an AS app via shell?


  • Subject: Re: Passing calls to an AS app via shell?
  • From: Martin Orpen <email@hidden>
  • Date: Fri, 08 Oct 2004 15:48:53 +0100

on 8/10/04 3:12 pm, Johnny AppleScript at email@hidden wrote:

> On 04/10/08 7:56 AM, "Pierre N" <email@hidden> wrote:
>
>> Did you try this:
>> do shell script "echo hello >> ~/'Temporary Items'/filename.txt"
>> It works for  me...
>
>     do shell script "echo hello >> ~/'Temporary Items'/filename.txt"
> --> "sh: line 1: /Users/ja/Temporary Items/filename.txt: No such file or
> directory"
>
> Do I just have a broken installation on over thirty machines? I tested this
> on three of thirty machines; it returns the same error.

Nah, you've just got a problem with those quote marks.

Try adding a backslash:

    do shell script "echo hello >> ~/Temporary\ Items/filename.txt"

Escaping the space should work.

--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Passing calls to an AS app via shell?
      • From: Martin Orpen <email@hidden>
References: 
 >Re: Passing calls to an AS app via shell? (From: Johnny AppleScript <email@hidden>)

  • Prev by Date: Getting File Info From PS7.0 File Without Opening
  • Next by Date: Re: Passing calls to an AS app via shell?
  • Previous by thread: Re: Passing calls to an AS app via shell?
  • Next by thread: Re: Passing calls to an AS app via shell?
  • Index(es):
    • Date
    • Thread