tell application "MacGS-550" activate gs "-q -sDEVICE=jpeg -r300 -sOutputFile=\"my hd:my other folder:myout.jpeg\" \"my hd:my folder:the inputfile.ps\" -c quit" end tell .