Just curious if an ExtendScript for some reason hangs (or takes really long time to run), you just have to kill it externally right? Or is there some other Adobe scripting feature I'm not aware of that deals with that scenario?
So I'm guessing the best option to deal with hangs or long processing time is to:
- have an external monitoring tool/service to check up on the ExtendScript execution and handle appropriately as needed (kill it, log info)
- use the COM API (e.g. VBScript, though other COM compatible languages ok) or Applescript API (called directly or called by other programming languages) instead of ExtendScript for their additional programming and/or multi-threading capabilities