To which event did you assign your code? Can you post your code?
I also recommend ticking the option to show the JS console on errors and warnings.
Sorry that this reply took time.
if you know what kind of code I need to do this and how can I make it happend...
My very thank to you!
This is not possible unless your clients install the script on their local
machine. It can't be done with code that is just in the PDF file itself.
For Acrohat X version 10.1.1 see
I can installa script in my clients computer. That wont be a problem.
It is that way because of secuity demands of PDF useres and Acrobat.
Think about it, if you could save on somewone's computer silently, another could save silently to any internet server.