1 Reply Latest reply on Oct 23, 2009 12:57 PM by Dirk Becker 

    how to pass arguments to a event listener




      I register a script for the event "beforeClose" and want to give it an arguments, how can I do that?


      the main applescript code:


      tell application "Adobe InDesign CS3"

           make event listener with properties {event type:"beforeClose", handler:pathToMyScript, captures:true}

      end tell


      many thanks in advance