Re: 'do shell script' error has me stumped
Re: 'do shell script' error has me stumped
- Subject: Re: 'do shell script' error has me stumped
- From: Matthew Strange <email@hidden>
- Date: Wed, 15 Jul 2009 22:19:54 -0400
Success! It took me a while to get back around to this project, but
your suggestion (below) worked perfectly.
Thanks so very much, Mark.
Matt Strange
Autograph Systems
An Authorized Apple Reseller
www.autographsystems.com
On Jul 6, 2009, at 7:15 AM, Mark J. Reed wrote:
The command 'gs' is installed somewhere not listed in the default
command search path. You have something in your shell startup files
(.bash_profile, probably) that modifies PATH, but those files don't
get run when you "do shell script".
In Terminal, type
which gs
to find out where the gs command lives. Then you can add that
directory to the command search path when you run the fax command.
For example, if the output of the above is
/opt/local/bin/gs
then do this:
do shell script "PATH=\"$PATH:/opt/local/bin\" fax make /faxfile.ps"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden