• 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: Imagemagick
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Imagemagick
      • From: "Fleisher, Ken" <email@hidden>
References: 
 >Imagemagick (From: "Fleisher, Ken" <email@hidden>)

  • Prev by Date: Imagemagick
  • Next by Date: InDesign Transparency
  • Previous by thread: Imagemagick
  • Next by thread: Re: Imagemagick
  • Index(es):
    • Date
    • Thread