Re: path to unix apps
Re: path to unix apps
- Subject: Re: path to unix apps
- From: Dieter May <email@hidden>
- Date: Sat, 17 Jul 2004 19:21:29 +0200
I haven't tried it, but presumably you could string the environment
command
in your do shell script:
do shell script "PATH=/blah:/blah/blah:$PATH;command"
(using whatever syntax is appropriate for whatever shell 'do shell
script'
uses nowadays).
do shell script "PATH=/usr/local/bin:$PATH; identify
'/Users/dieter/Desktop/testimages/gdm_logo.eps'"
"/Users/dieter/Desktop/testimages/gdm_logo.eps PS 296x243+0+0
DirectClass 8-bit 211kb 0.010u 0:01"
Thank you it works perfectly. identify even finds ghostscript.
--Dieter
_______________________________________________
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.