Hi,

I created a Cocoa application that uses WebKit to show the Html pages. The Javascript files access cocoa methods using the concept " Using Objective-C From JavaScript ". I got a issue after adding apple scriptability to the project. The app is not quitting from dock and also not quitting when the shutdown process sends the SIGTERM signal to it.

After a struggle i got to know that the issue is caused by the NSAppleScriptEnabled set to YES in the info.plist file. If i set to NO or remove it from info.plist then quit is working fine.

Instead of AppleScript, I tend to use NSTask to launch the application, but it won't use the active application instead it opens another one and do the stuff.

        Please let me know if you have any suggestions.

Thanks in advance,
M Praveen Kumar.
_______________________________________________

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]

Reply via email to