I’m in 10.6 with Xcode 3.2.1, but it’s a droplet so no ObjC… hope I’m posting in the right place.
I made a droplet in Xcode, and I want to debug the “on open” handler, to step thru it and see variables in Applescript Studio while the open handler is running. The “on idle” is OK, but missing global variables that on “open needs” to set (like the name of the dragged file is something I need to know in “on idle” routine).
I thought on open runs before on idle, but I guess not if there’s nothing to open!
Setting break points in in open handler is fruitless because it is never called.
How do I tell it what file to “open” or get it to call the open handler?
Debug & run obviously only runs idle handler normally…
What else can I do?
Frustratingly, it works fine (and no errors) pasted into Script Debugger, but it needs to be Studio to run as needed when done, plain applescript.app won’t do.
AppleScript: 10.0? Xcode 3.2.1
Browser: Firefox 3.6
Operating System: Mac OS X (10.6)