Avatar

Level 10

Hi,

I have seen your other posts on this, but you are running into a security issue with Acrobat. The software is slow to allow for certain scripts (like save as) to run, potentially without the users knowledge or interaction.

There is a way around it, which uses a "trusted function". This is javascript that is written into a .js file, which is then put into the Adobe application/Javascript folder on the C:// drive of EVERY computer that will be using the form. This is one of the potential problems with trusted functions.

I would recommend searching the forums again for "trusted function" as there are several posts dealing with this.

Also Acrobat User Group has a lot of posts dealing with this: http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=17693  We got a save as button script to work without user interaction, by following this post; however as I said before the .js file has to be installed on each PC.

Lastly some of your script looks like AcroForms Javascript, rather than the LC variety.

Hope that helps,

Niall