Action to disable print dialog box upon opening
Hello, very novice javascript user here.
I have been using a .sequ to disable the automatic print window from opening by executing the following script:
this.removeScript("0000000000000000");It successfully removes files received with existing script:
//<Document-Level>
//<ACRO_source>0000000000000000</ACRO_source>
//<ACRO_script>
/*********** belongs to: Document-Level:0000000000000000 ***********/
this.print({bShrinkToFit: true});
//</ACRO_script>
//</Document-Level>Now I am trying to adapt that script to create a new .sequ to disable the print box for files received with the following:
//<Document-Actions>
//<ACRO_source>Document Open</ACRO_source>
//<ACRO_script>
/*********** belongs to: Document-Actions:Document Open ***********/
this.print({bUI:true,bSilent:false,bShrinkToFit:true});
//</ACRO_script>
//</Document-Actions>I have tried the following three scripts without success:
this.removeScript("Document Open");
this.removeScript("{bUI:true,bSilent:false,bShrinkToFit:true}");
this.removeScript(";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;");
I know it's possible to disable each PDF individually by adding "//" to the beginning of "this.print" line, but a batch sequence would be so much more efficient, as I have quite a few to do.
Any help would be appreciated.
