I have a pdf file that uses Javascript to find the file path and then open another pdf document in another folder. It works fine until I place the files into a portfolio. All the files remain in the same positions relative to each other but the second file will no longer open. When I look at the path, the portfolio adds some funky characters to the path.
Should I still be using the app.opendoc command within a portfolio? If so, what do I need to do differently in regards to the path?
Thank you for your help.
However, the idea with a portfolio is that you'll be using ActionScript from the Navigator to open the files, since this is the front end.
From where was your original code run? Was it in a PDF or a Folder level script?
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]
Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script