On 17 Apr '08, at 9:08 AM, Praveen Kumar wrote:
I created a sample cocoa+webkit application and added apple scriptability. I execute the script on this application from script editor. The application opened the given url successfully, but i can't able to quit the application from the dock (right click on the application icon on the dock and select quit option). If i open the application and load the url manually then it is quitting fine from the dock.
Is the app otherwise responsive to user events while it's in this state?Try sampling it — I suspect it's somehow running a nested runloop while still handling the initial AppleEvent. The 'quit' AppleEvent sent by the Dock will stay queued until your open-URL event handler returns.
—Jens
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
