You could write an applescript that causes Preview to close the pdf and then open it again; using this script as the command called from Textmate.
See my "Reload Preview Document" script: http://vocaro.com/trevor/software/applescript/
Trevor
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Jun 29, 2006, at 1:52 PM, Trevor Harmon wrote:
See my "Reload Preview Document" script: http://vocaro.com/trevor/software/applescript/
Now that Preview has a Revert command, I suspect you could change part of your script to
tell application "System Events" tell process "Preview" tell menu bar 1 tell menu bar item "File" tell menu 1 click menu item "Revert" end tell end tell end tell end tell end tell
and get rid of the reopen part.
- -- Dr. Drang