Thursday, September 20, 2018

#1 2018-09-03 12:57:24 am

mactranslator
Member
Registered: 2012-11-20
Posts: 21

How to get a page number in Skim?

I'm trying to write a Keyboard Maestro macro to open a PDF, search for a string, and open a corresponding PDF at the same page where the string is found in the first PDF.

Currently I'm missing a script (or other solution) to determine the number of the page where the search string in Skim has been found first.

Is this possible at all?

I'd also be happy with a script to navigate to page n in a PDF opened in Skim.


Filed under: PDF, Skim

Offline

 

#2 2018-09-12 08:54:50 pm

Derick
Member
Registered: 2007-05-26
Posts: 16

Re: How to get a page number in Skim?

This works for task #2:

given n = 3

Applescript:

tell application "Skim"
   tell document 1
       
       go to page 3
   end tell
end tell

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)