How to restart my Acrobat JavaScript program from the beginning?


hi,

 

hopefully simple question.  i'd provide button in javascript program called "restart" restarts javascript program beginning, happens when first open pdf document.  don't want make user close & re-open document restart javascript, want provide "restart" button.

 

if there "goto" statement in javascript, use ;-)   although doing "goto" within button-triggered javascript beginning of document javascript bypass return statement or pop-of-the-stack somewhere.  alas, there isn't "goto" statement in javascript, that's moot point.

 

in case, insights how can, within button-triggered javascript, restart document javascript beginning appreciated.

 

thanks!

 

dave

put code in function , call function.



More discussions in JavaScript


adobe

Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support