View Single Post
Vargr
Senior Member
 
Join Date: Apr 2014
Location: Denmark
Posts: 740

Old June 19th, 2015, 01:26 PM
Quote:
Originally Posted by Parody View Post
To open a PDF to a specified page, you need to create a batch file. It only needs one line:

Code:
E:\Program Files\Adobe\Acrobat 10.0\Acrobat\Acrobat.exe /A "page=N" "c:\full\path\to\file.pdf"
The first part is the full path to your copy of Acrobat or Adobe Reader. (The example is where I installed Acrobat Pro X.)

/A is the Actions command. In the following string, replace N with the page number. (It needs to be an integer index so if, for example, your PDF says the first page number is "Front Cover" you may have to add or subtract a couple to find the right one.)

The last part is the full path to the PDF file.


Run the batch file and see if it works. Once you have the batch file opening the PDF to the right place, then you can attach the batch file to a Foreign Object snippet in Realm Works. When you use the "play" button to "view" it, Realm Works will write the batch file to your Temp folder and run it, which should open the file for you.
Ohh... That is nifty! I am going to play around with that (going to use it for opening a spreadsheet - should be simpler).

Vargr
Deputy Calendar Champion


Legend has it, that the Tarrasque is a huge fighting beast, perpetually hungry.
Sleet entered History when he managed to get on the back of a Tarrasque only to be ridden out of History shortly after.

Using Realm Works, Worldographer (Hexographer 2), LibreOffice, Daz3D Studio, pen & paper for the realm World of Temeon and the system LEFD - both homebrewed.

Vargr is offline   #4 Reply With Quote