Skip to main content
January 30, 2014
Question

BeforePrint

  • January 30, 2014
  • 1 reply
  • 484 views

My Script is below:

#targetengine "session"

main();

function main(){

    var myApplicationEventListener = app.eventListeners.add("beforePrint",myEventInfo);

    }

function myEventInfo(myEvent){

    alert("Yes");

    }

I can popup the message box, while i'm print the doc, but when I get document into a book, then I use print book or print selected document, can't popup a message box, how can I even popup the message box even I print the book or print the selected document???

This topic has been closed for replies.

1 reply

Sumit_Garg
Adobe Employee
Adobe Employee
January 30, 2014

Hi,

Thanks for reporting this issue.

verified this as bug inside InDesign. Hence logged bug#3701394 for tracking this issue.

We might get this fixed in next update of InDesign.