11 Replies Latest reply on Mar 15, 2012 3:43 PM by sporobolus

    using sips - passing a field in do shell script


      Hi all


      Is anyone using sips to get image data/export jpegs?


      I'm trying to do something like this example but using calculated applescript rather than native applescript.


      I need to use the image_filename field for record by record use...just don't know the syntax to use


      something like:

      "set cell 'sips_data' of current record to do shell script '/usr/

      bin/sips -g all ' & quoted form of POSIX path of alias '"& PHOTO::photo_filename & "'"


      I'm not sure if I need to define a var first in applescript then use that in the shell script...