Page 2 of a PDF
dfepstein at comcast.net
dfepstein at comcast.net
Fri Apr 5 09:33:22 EDT 2013
I think this will work on a Mac:
on pdfToPage n -- show page n of the pdf in player 1
put round(n) into n -- n as passed by scrollBarDrag doesn't seem to
-- always be an integer
put (n-1)*75 into t
set the playSelection of player 1 to true
set the startTime of player 1 to t
set the endTime of player 1 to t+1
play step player 1
end pdfToPage
Ray Horsley wrote
using a player object I can't control from a script which page of the PDF the player object is displaying.
David Epstein
More information about the use-livecode
mailing list