Planet PDF Forum Planet PDF Forum
  New Posts New Posts RSS Feed - [8-}] Custom "Open a file" Script
  FAQ FAQ  Forum Search   Register Register  Login Login


Hi, welcome to the Foxit Planet PDF Forum. If you have PDF or Adobe Acrobat questions then the right place to ask them is here, in this forum.

[8-}] Custom "Open a file" Script

 Post Reply Post Reply
Author
fncyfayse View Drop Down
New Member
New Member
Avatar

Joined: 05 Dec 2013
Location: SC
Points: 1
Post Options Post Options   Quote fncyfayse Quote  Post ReplyReply Direct Link To This Post Topic: [8-}] Custom "Open a file" Script
    Posted: 05 Dec 2013 at 3:51pm
I am driving myself crazy with this one! I have a pdf form with a button that is "supposed" to open an excel file. This excel file is a log sheet that we have to open to track information relative to the pdf.

So, when I use the "open a file" action as a button, it works until you save the file. When you try the button again, the file path tries to point to the location that you saved the file (not were the log sheet is located).

Ideally, I think if I had a script, it would not be able to override that command.


I have also tried this script as opposed to the "action"

app.openDoc("/U/SharedDocs/@ Projects/_New/Submittals/Submittal Log.xlsx");

Please help :)
R.Strange
Back to Top
Sponsored Links


Back to Top
try67 View Drop Down
Senior Member
Senior Member


Joined: 15 Jul 2011
Points: 629
Post Options Post Options   Quote try67 Quote  Post ReplyReply Direct Link To This Post Posted: 05 Dec 2013 at 10:54pm
When opening non-PDF files, you must specify the bUseConv parameter as true.


Edited by try67 - 05 Dec 2013 at 10:54pm
- Acrobat Expert - Contact me personally at try6767@gmail.com
Check out my custom-made scripts website: http://try67.blogspot.com
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.10
Copyright ©2001-2017 Web Wiz Ltd.

This page was generated in 0.047 seconds.