Thread View: adobe.scripting.indesign
2 messages
2 total messages
Started by senthil_nagore
Mon, 16 Feb 2009 05:55
How to tace the document close event?
Author: senthil_nagore
Date: Mon, 16 Feb 2009 05:55
Date: Mon, 16 Feb 2009 05:55
6 lines
630 bytes
630 bytes
Hi all! Any one can help me how to trace the document close event. Thanks Senthil
Re: How to trace the document close event?
Author: senthil_nagore
Date: Mon, 16 Feb 2009 07:30
Date: Mon, 16 Feb 2009 07:30
14 lines
937 bytes
937 bytes
Finally i get the job done!
#targetengine "session"
main();
function main(){
var myApplicationEventListener = app.eventListeners.add("beforeClose",myEventInfo, false);
alert('executed');
}
function myEventInfo(myEvent)
{
alert('Before Closing...');
var myString = "Current Target: " + myEvent.currentTarget.name;
alert(myString);
}
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads