• 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: 'do shell script' error has me stumped
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >'do shell script' error has me stumped (From: Matthew Strange <email@hidden>)
 >Re: 'do shell script' error has me stumped (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: PhotoShop CS3 Tiff Save Option
  • Next by Date: Re: Simple apple script - Beginner Problem
  • Previous by thread: Re: 'do shell script' error has me stumped
  • Next by thread: RE: A simple script for FileMaker Pro
  • Index(es):
    • Date
    • Thread