On Jun 29, 2006, at 9:03 AM, Dr. Drang wrote:
Preview has a Revert command under its File menu which will read the current version of the document off the disk. It's what I use when editing/updating PDF documents from LaTeX. It doesn't have a keystroke equivalent, but you could add one in the Keyboard Preference Pane.
Preview doesn't seem to be AppleScriptable (it doesn't show up in the list when I do an Open Dictionary in Script Editor), so you'd probably have to do some GUI scripting if you wanted to automate the Revert command.
http://www.red-sweater.com/blog/150/minimal-scriptability
In any case, Preview will certainly not support pdfsync. ASAIK texniscope is the only external viewer right now that supports it.
To the OP, the name you need to set the variable to if I recall correctly is the name of the executable. So it is “texniscope” because the application is called Texniscope.app, and similarly it's “preview” because the application is Preview.app. So you could try some similar variation with Adobe Reader.
-- Dr. Drang
Haris