Created
October 23, 2013 23:13
-
-
Save jsmm/7128507 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--2011-04-02 | |
--http://organognosi.blogspot.com | |
tell application "Skim" | |
display dialog "Give the written page number:" default answer "" buttons {"Cancel", "OK"} default button 2 | |
set writtenNumber to text returned of the result as integer | |
set numberNote5 to (get text for note 5 of page 1 of document 1) | |
set numberInThePDF to writtenNumber - numberNote5 | |
go document 1 to page numberInThePDF of document 1 | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment