Re: Passing calls to an AS app via shell?
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