December 13, 200817 yr Newbies 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!
December 13, 200817 yr 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, 200817 yr by Guest
December 17, 200817 yr Author Newbies 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
Create an account or sign in to comment