Newbies SOSGirl Posted December 13, 2008 Newbies Posted December 13, 2008 Hi, I have a container field that contains a PDF. As it is right now, I have to export this in order to open the file. I want to script a button over the PDF image of the doc that will auto open the document when I click on it. I know I have to export and then open so I created a script but I'm confused about the temp file name. I just want it to go to the Windows temp file. I set up a script with Export (field name) and for the specify output file I put "filewin://%25temp%". (I didn't type 25 there but it added it automatically). I checked Auto open. It's not working. Any ideas? Thanks!
bcooney Posted December 13, 2008 Posted December 13, 2008 (edited) Yes, use the Get (temporarypath) function to build the path. I usually build the path in a $variable, and then just put the $variable in the Export Path. So, Set Variable $path, Get (TemporaryPath)& "temp.pdf" Export $path Edited December 13, 2008 by Guest
Newbies SOSGirl Posted December 17, 2008 Author Newbies Posted December 17, 2008 Thanks for your response. I'm not following though. Where do I use the Get function? How do I do the Set Variable (I assume you mean the script step?) I need more hand holding please :B
Recommended Posts
This topic is 5821 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now