• 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
how do i launch a specific system preference?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how do i launch a specific system preference?


  • Subject: how do i launch a specific system preference?
  • From: Ken Victor <email@hidden>
  • Date: Thu, 7 Oct 2004 18:20:48 -0700

i need to be able to launch the system preferences and have it set up to the first tab of the universal access panel. i can do this via:

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

and it seems to work fine. i'm not sure though about hardcoding such a path into my app. is this the proper way to do this? or is there a better way?

thanx,
ken
_______________________________________________
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
  • Follow-Ups:
    • Re: how do i launch a specific system preference?
      • From: Bill Cheeseman <email@hidden>
    • Re: how do i launch a specific system preference?
      • From: Lee Morgan <email@hidden>
  • Prev by Date: why every image has the same resolution?
  • Next by Date: Re: how do i launch a specific system preference?
  • Previous by thread: Re: why every image has the same resolution?
  • Next by thread: Re: how do i launch a specific system preference?
  • Index(es):
    • Date
    • Thread