Re: Imagemagick
Re: Imagemagick
- Subject: Re: Imagemagick
- From: Axel Luttgens <email@hidden>
- Date: Fri, 16 Nov 2007 15:13:15 +0100
On 16/11/07 15:07, Fleisher, Ken wrote:
Hello. I am trying to use imagemagick from AppleScript but not having any
luck. In Terminal, I can type:
identify -verbose {path to my file}
And I get the correct response (identify is an imagemagick command).
However, in AppleScript, I type:
set foo to POSIX path of f
set bar to do shell script "identify -verbose " & quoted form of foo
And I get the error:
AppleScript Error
sh: line 1: identify: command not found
Try with the full path of the identify command (very likely installed in
a non standard directory, such as /usr/local/bin):
set bar to do shell script "/path/to/identify -verbose " & quoted
form of foo
HTH,
Axel
_______________________________________________
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: | |
| >Imagemagick (From: "Fleisher, Ken" <email@hidden>) |