• 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: Where is "osascript"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Where is "osascript"? (From: "Duane L. Mitchell" <email@hidden>)
 >Re: Where is "osascript"? (From: Doug McNutt <email@hidden>)
 >Re: Where is "osascript"? (From: John Delacour <email@hidden>)

  • Prev by Date: Re: Where is "osascript"?
  • Next by Date: Re: Who unsubscribed me too? (was: Digest request)
  • Previous by thread: Re: Where is "osascript"?
  • Next by thread: Re: Where is "osascript"?
  • Index(es):
    • Date
    • Thread