Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Force Preview to reload a document' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Force Preview to reload a document
Authored by: FFFish on Jan 05, '06 10:02:48AM

Am I barking up the wrong tree when I suggest "File > Revert" does exactly what y'all want? It reloads the file, thus showing any changes since the last load.



[ Reply to This | # ]
Force Preview to reload a document
Authored by: dw on Jan 05, '06 10:48:54AM

Ah! That is wonderful (and slightly hilarious). Preview "reverts" to the more recently saved version.



[ Reply to This | # ]
Force Preview to reload a document
Authored by: osxpounder on Jan 05, '06 12:15:31PM

If "Revert" does, indeed, simply reload the file, then it's badly named. It should be called "Reload", of course. When I see "Revert", I assume it works as the name describes: it reverts to an earlier state, not to the file currently on disk. When I hit "Revert" in Photoshop, I count on PS restoring the document as it was when I opened it, regardless of what I've saved to disk since opening.

---
--
osxpounder



[ Reply to This | # ]
Force Preview to reload a document
Authored by: vocaro on Jan 05, '06 08:37:37PM

Am I barking up the wrong tree when I suggest "File > Revert" does exactly what y'all want? It reloads the file, thus showing any changes since the last load.

Interesting; I always thought Revert simply reverted changes. I never realized it reloaded the document. However, my script is still useful for two reasons:

  1. A script can be called from the command line, which is useful for LaTeX users like myself who rely on fine-tuned Makefiles for their workflow.
  2. The Revert command resets Preview to the first page of the document, which is very annoying when you're working on, say, page 17 and suddenly you're looking at page 1 and have to jump back. On the other hand, closing and re-opening the document, which is what my script does, keeps Preview on the same page of the document.


[ Reply to This | # ]