Another applescript eaxample
Posted: 18 September 2008 01:43 PM   [ Ignore ]
Newbie
Rank
Total Posts:  5
Joined  2008-09-07

Could I get an example of getting the index of the current active page ?

Thanks, Mike

Profile
 
 
Posted: 18 September 2008 03:09 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  428
Joined  2007-03-23

You can’t because there isn’t.  red face  But in the next update you will be able to ask for the current page of a document, or the current page of the content view (those are not necessarily always the same), and subsequently get the index.

You can then write something like:

tell application "PDFClerk Pro"
    
tell document 1
        set a to the current page of the content view
        set b to the current page
    end tell
end tell 

Ah, so you can, after all, you just can’t use it yet.  hmmm

[ Edited: 18 September 2008 04:05 PM by Tonio ]
 Signature 

António Nunes
SintraWorks

Profile