View Full Version : Open a PDF file to a specific page from pulldown menu
john.lauer
2006-05-30, 06:30 PM
I have a unistrut pulldown menu and a link to the PDF file that we received from Unistrut.
the code I have is as follows:
[**Open Unistrut Cad Library**]^c^cstart unistrut.pdf;
What i really want to do is open the pdf document to a specific page for each category of unistrut fittings, i.e. page 73 for Angular Fittings, but I have been unable to do this.
Does anyone know the proper switch or syntax?
Thanks
John L.
Hi John,
It looks like Reader doesn't support command line switches; only Distiller does. Bummer. Maybe there is another pdf reader that will?
rkmcswain
2006-05-30, 07:23 PM
Although this offers no help in regard to opening a PDF to a certain page....
...however in regard to opening a PDF in general, you might take a look at
http://rkmcswain.blogspot.com/2005/11/launch-pdf-from-autocad.html
Ed Jobe
2006-05-30, 07:40 PM
There weren't any references at Adobe that indicated that this is possible. But, if you had Pro, you could save the pages into separate files. Then you could have a macro button for each file.
There weren't any references at Adobe that indicated that this is possible. But, if you had Pro, you could save the pages into separate files. Then you could have a macro button for each file.
Doh! Why didn't I think of that!
Thanks, Ed.
Mike.Perry
2006-05-30, 08:49 PM
Hi John
Please note I have *moved* this thread from the AutoCAD General (http://forums.augi.com/forumdisplay.php?f=120) forum to this one, as I feel this particular forum is a more appropriate place for such a topic.
Thanks, Mike
Forum Manager
Mike.Perry
2006-05-31, 09:45 AM
I have a unistrut pulldown menu and a link to the PDF file that we received from Unistrut.
the code I have is as follows:
[**Open Unistrut Cad Library**]^c^cstart unistrut.pdf;
What i really want to do is open the pdf document to a specific page for each category of unistrut fittings, i.e. page 73 for Angular Fittings, but I have been unable to do this.
Does anyone know the proper switch or syntax?Hi
Give something like the following a try ( works for me at this end )...
^C^C(Startapp "C:/Program Files/Adobe/Acrobat 6.0/Reader/AcroRd32.exe" "/Apage=10 H:/Home/perrymp/MikePerry/AutoCAD/Support/WindowsXPTweakCompanion.pdf")The above opens PDF file "WindowsXPTweakCompanion.pdf" at Page 10 of 166, within Adobe Reader.
Have a good one, Mike
john.lauer
2006-05-31, 02:27 PM
Mike, you RULE!!!!
Thanks a billion
John
Ed Jobe
2006-05-31, 02:40 PM
Hi Mike. Would you like to share where you found that out? Adobe didn't list such info in their kb. I looked in my help file, but I have pro, not reader. There might be other switches?
Hi Mike. Would you like to share where you found that out? Adobe didn't list such info in their kb. I looked in my help file, but I have pro, not reader. There might be other switches?
Apparently, there is a developer's guide (http://www.experts-exchange.com/Web/Graphics/Adobe_Acrobat/Q_21152136.html#12198372). If that link doesn't take you to the "Accepted Answer", you will need to scroll the page to find it. It looks like you will need a free Adobe web account to go to the accompaning links.
Ed Jobe
2006-05-31, 04:12 PM
Nice of Adobe to make such info so readily available, eh?
Mike.Perry
2006-05-31, 09:03 PM
Hi Ed
Would you like to share where you found that out?Nope! ;-) you know how unhelpful I believe in being...
Autodesk Discussion Groups (http://discussion.autodesk.com/index.jspa)
Adobe didn't list such info in their kb. I looked in my help file, but I have pro, not reader. There might be other switches?Seriously, I performed a search on the web, and stumbled across it ( link given above )... I honestly do not have a list of other switches ( if others in fact exist, though I would imagine there are others ).
:beer: Mike
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.