Ok, I need help (although my psychiatrist reckons no one can help me. )
I am new to this of course>
Here is where I am at:
It works well - however, the file name and destination is hardcoded ie. I provide the filename and destination:
var destDoc = app.openDoc('/C/filename.pdf);
Al I want to do is make the filename user selectable ie. the user selects the filename when clicking on the button.
Now I found the File.opendialogue method and tried it. But I get an error. File is not defined.
var destDoc = File.openDialogue("Please select your file.");
if (destDoc != null) app.openDoc(destDoc);
I am stuck. Help!
You can use the method app.browseForDoc( ... )
Thanks for the help.
After a bit a playing around and learning how it works, I finally got it working!