Re: Close System Preferences programmatically
Re: Close System Preferences programmatically
- Subject: Re: Close System Preferences programmatically
- From: eveningnick eveningnick <email@hidden>
- Date: Wed, 5 Jan 2011 00:38:57 +0200
> - If you really want System Preferences to quit, you could use NSAppleScript
> and do something like:
> tell application "System Preferences" to quit
> You can do the same using AppleEvents.
Peter, could you hint me on how to do it using AppleEvents?
Googling, i have found some references to OmniAppKit:
"There's a working example of using Apple Events to do this in the
published Omni frameworks --- let's see, it's OAOpenSystemPreferences
(), in OAPreferenceController.m, in OmniAppKit."
I havent found this kit though, it is quite outdated.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden