I have a file example.pdf
, where the key to exercises in the top part of the document are posted at the end. Hence, I want to open two instances of this file, so that I can put the window with the answers next to the one with exercises.
A possible solution is of course to cp example.pdf example_copy.pdf
, but I wonder if this be done without copying and renaming the file?
Answer
Open a document in a new instance of its associated application like this:
open -n path/to/file.pdf
Open also allows you to specify the application for the file, but if Preview is your default PDF viewer, you don't need to.
Another option is to bookmark relevant pages of the document, and jump between them by using the Back and Forward commands (Cmd-[
and Cmd-]
).
The command above can be wrapped in a Service that can be assigned a keyboard shortcut in System Preferences » Keyboard using Automator:
Unfortunately, Preview cannot be scripted, and this Service cannot be launched from within Preview when viewing the document. You can, however, use it in Finder, either via its Finder » Services menu, or the context-menu of any file.
No comments:
Post a Comment