• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Close System Preferences programmatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Close System Preferences programmatically
      • From: Peter Lübke <email@hidden>
    • Re: Close System Preferences programmatically
      • From: Kyle Sluder <email@hidden>
References: 
 >Close System Preferences programmatically (From: eveningnick eveningnick <email@hidden>)
 >Re: Close System Preferences programmatically (From: Nick Zitzmann <email@hidden>)
 >Re: Close System Preferences programmatically (From: eveningnick eveningnick <email@hidden>)
 >Re: Close System Preferences programmatically (From: Peter Lübke <email@hidden>)

  • Prev by Date: Re: Close System Preferences programmatically
  • Next by Date: Re: Event to trigger writeSelectionToPasteboard
  • Previous by thread: Re: Close System Preferences programmatically
  • Next by thread: Re: Close System Preferences programmatically
  • Index(es):
    • Date
    • Thread