1 Reply Latest reply: Apr 4, 2012 12:45 PM by Camelot
pedroparamo Level 1 (0 points)

If I'm using the folowing terminal command in AS

 

set cmd to "exiftool -s -keywords" & " " & thisFilePath & ""

 

How can I set the result of what the terminal returns to an AS value?

 

Thanks.

 

Pedro


Mac Pro, Mac OS X (10.6.4)
  • Camelot Level 8 (46,650 points)

    set cmd to "exiftool -s -keywords " & thisFilePath

    set cmdResult to do shell script cmd

     

     

    This will execute cmd in a shell and return the result in cmdResult

     

    You should use the full path to exiftool, though