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: vocaro on Jan 05, '06 06:52:33PM

Please excuse my stupidity but where do you need to put scripts like this so that they can be run from anywhere from the terminal?

You should be able to put them anywhere as long as you reference them correctly (e.g., quoting the directory if it contains spaces). For instance, here's what I do on the command line:

osascript "/Users/trevor/Development/AppleScript/Reload Preview Document.scpt" document.pdf

[ Reply to This | # ]