• 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: Open System Preferences?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Open System Preferences?


  • Subject: Re: Open System Preferences?
  • From: Scott Anguish <email@hidden>
  • Date: Sun, 16 Apr 2006 01:56:11 -0400

the method that Brian posted that uses AppleScript is probably a much better option.

On Apr 15, 2006, at 11:21 PM, Andrei Tchijov wrote:

[
[ NSTask
launchedTaskWithLaunchPath: @"/usr/bin/open"
arguments: [ NSArray arrayWithObject: [ @"<PATH TO THE PREFERENCE PANE YOU WANT TO OPEN>" stringByExpandingTildeInPath ]]
]
waitUntilExit
];


On Apr 15, 2006, at 11:07 PM, d2kagw wrote:

Hey All !

Just wondering if anyone knows of a way to open the system preferences and activate a specific preference pane?
The application im building has a preference pane within sys preferences to manage the prefs, and I was hoping that when the user selects preferences from the application menu that I could open the sys preferences...

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Open System Preferences? (From: d2kagw <email@hidden>)
 >Re: Open System Preferences? (From: Andrei Tchijov <email@hidden>)

  • Prev by Date: Re: More Spotlight questions
  • Next by Date: Re: "parse error before 'OBJC_STRING' token" when including evp.h from 10.4u SDK on an Intel machine
  • Previous by thread: Re: Open System Preferences?
  • Next by thread: Re: Open System Preferences?
  • Index(es):
    • Date
    • Thread