odoc event not being dispatched correctly at App launch
|Product:||Mac OS X
f you have setup a custom event handler for "open" in your sdef, it does not get called if your app is opened with an odoc event. It does get called once your app has launched though.
Steps to Reproduce:
1) Build attached project but do not launch it
2) Open up the TestScript.scpt file in Script Editor
3) Play the script
4) Play it again
5) Check the console logs
In both cases I would expect to see handleOpenScriptCommand called.
After step 3 I see _handleAEOpenDocuments
After step 4 I see handleOpenScriptCommand
If you continue to play the script you will get handleOpenScriptCommand until you quit ScriptingOpen.
Reports posted here will not necessarily be seen by Apple.
All problems should be submitted at bugreport.apple.com before they are posted here.
Please only post information for Radars that you have filed yourself, and please do
not include Apple confidential information in your posts. Thank you!