Kendoka Posted February 10, 2005 Share Posted February 10, 2005 Hi all. Could someone help me with this smallish(?) problem? I am trying to open a PDF file *at a Named Destination* from within FMP. I have no trouble whatsoever in just opening the file (by calculating the exact path). I can make this work using "Open URL", "Send Event", "Perform DDE" or by sending the filepath to a small WinBatch-hack I have written. As I said, all the above ways work - *until* I try to add the parameter for opening at a specific "Named Destination" (sort of a bookmark) within the PDF-file. It should work like this: Open URL("Path#Destination") ... but this somehow confuses Acrobat into believing "there is no such file". Please point me in the right direction. Link to comment Share on other sites More sharing options...
Kendoka Posted February 10, 2005 Author Share Posted February 10, 2005 Realised that not many of you have access to a pdf with a named destination. If you have a clue on how to fix this you can instead try to open a pdf at a specific page. Syntax: Open URL("path#page=3") If you can get it to work chances are that the same solution would work on the Named Destination. Also, Adobes "Interapplication Communication" has some stuff on the matter under "DDE" - but I simply cannot get it to work that way either... DDE, DocGoTo [DocGoTo(char* fullPath, long pageNum)] Description Goes to the specified page. DocGoTo is also supported in Adobe Reader. Parameters Return Value false if the document specified by fullPath does not exist, true otherwise. fullPath The full pathname of the file. pageNum The page number of the destination page. DDE, DocGoToNameDest [DocGoToNameDest(char* fullPath, char* nameDest)] Description Goes to the specified named destination. DocGoToNameDest is also supported in Adobe Reader. Parameters Return Value false if the document specified by fullPath does not exist, true otherwise. fullPath The full pathname of the file. nameDest The named destination. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.