> - 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 (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com