I've been trying to create a custom save button on a form I've made. My scripting knowledge is minimal so I've kind of hit a wall here. Hoping this is a simple enough problem.
I was testing out the "app.execMenuItem()" and the "this.saveAs()" commands which work well but I'm lost now as to how to append a name to them. I referenced this article (http://acrobatusers.com/tutorials/file-paths-acrobat-javascript) but can't sift through it enough to find a solution.
Just want a user to be able to click on a button and have it save the file with "release" added to the end of the name. So if the file were "MyPDF.pdf" when you clicked the button it would then be "MyPDF_release.pdf".
Make sense? Thanks in advance for any help/suggestions.