My first question may be a simple AppleScript question. I’ve been writing software for 30+ years and am quite comfortable with numerous scripting languages, mostly in the UN*X environment.
-
I’d like to trigger a handler upon an event generated by a script-able application. Presumably this would be some sort of “on [event] [i]handler/i” syntax. Is this generally correct?
-
Specifically with the Apple DVD Player application, I want to write a handler triggered on a DVD “chapter change” event, but I’m unable to find such an event in the DVD Player sdef.
Would I need to “poll” the DVD Player to detect the chapter change? For now, this seems the only approach available.
Thanks in advance,
Jon