Re: Where is "osascript"?
Re: Where is "osascript"?
- Subject: Re: Where is "osascript"?
- From: Doug McNutt <email@hidden>
- Date: Tue, 12 Aug 2003 18:14:57 -0600
At 00:29 +0100 8/13/03, John Delacour wrote:
>
Maybe I'm missing something. Doesn't this work well enough? --
>
>
do shell script "osascript -e 'beep 3
>
do shell script \"cd ; ls\"'"
What it means is that osascript is in the $PATH as set up by some default and further that your user hasn't changed the default by editing his environment.plist. I think CN strongly suggests full path names to guarantee portability.
Yeah. I know /usr/bin/ is a pretty standard directory in people's $PATH.
do shell script "echo $PATH"
--> "/Users/doug/bin:/opt/bin/perl/bin:/bin:/sbin:/usr/bin:/usr/sbin:/Developer/Tools"
What do you get?
--
--> In Christianity, man can have only one wife. This is known as monotony. <--
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.