On Jan 29, 2006, at 11:44 AM, Jim Bagrow wrote:
If anyone has any suggestions about this final step, that would be great. I know there's something wrong with my applescript, it tends to behave differently in osascript than in Script Editor, is this because of the escaped quotes? Something to do with combining triple- and single-quotes?
Record a macro that calls your command first, and saves the file afterward, and then use that instead of the command. No reason to use applescript here. Keep in mind, if you change the command afterward, you'll need to record the macro again, unless you set the command to run a script from a file, and then edit that file instead.
Haris
PS: Thanks for adding the pdfsync instructions on the wiki.