Page 1 of 1

link to particular page of pdf file?

Posted: Tue Jan 27, 2015 4:57 am
by labrat
I want to link to a particular page of a pdf file. This link: http://blogs.adobe.com/tcs/2011/01/tcs- ... -more.html says that all I need to do is append #page=3 (for example) to accomplish this. However, it does not work. I can launch the document with this code:

Code: Select all

on mouseUp
   launch document "/Users/erv/Documents/shannon1948.pdf"
end mouseUp
but nothing happens when I use this code:

Code: Select all

on mouseUp
   launch document "/Users/erv/Documents/shannon1948.pdf#page=3"
end mouseUp
How can I do it?

Re: link to particular page of pdf file?

Posted: Tue Jan 27, 2015 5:39 am
by FourthWorld
The path suggests you're using a Mac, yes? If so, perhaps OS X's Preview app doesn't offer the same support for the hash page number as Adobe's PDF reader does. FWIW, the Evince Document Viewer which ships with Ubuntu doesn't seem to honor that Adobe convention either.