On Apr 1, 2009, at 11:54 AM, Mark Suman wrote:

I would like to pass in something like "set the current pane to pane id \"com.foo.prefpane\" to the event to tell System Preferences to change to my pane.

Can anyone tell me how to pass that in?


You're making this way too complicated. Try this instead:

[[NSWorkspace sharedWorkspace] openFile:@"/System/Library/ PreferencePanes/Network.prefPane"];

Of course, you would replace the string with the path to the preference pane you wish to load.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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