• 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: Opening System Preference Panes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opening System Preference Panes


  • Subject: Re: Opening System Preference Panes
  • From: John Delacour <email@hidden>
  • Date: Fri, 30 Aug 2002 09:16:07 +0100

At 12:23 am -0400 30/8/02, Jon Rosen wrote:
I'd like to create a script to open a preference pane (i.e., ink). I've checked the dictionary for System Preferences. It lists Pane as a class, but I can't find any combination of terms that will cause System Preferences to open a specific preference pane. Any ideas?

tell application "System Preferences"
activate
set current pane to pane "com.apple.preference.login"
end tell

or


tell application "System Preferences"
name of panes
"" & (choose from list result)
set current pane to pane result
activate
end tell
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Opening System Preference Panes
      • From: Michael Grant <email@hidden>
References: 
 >Opening System Preference Panes (From: Jon Rosen <email@hidden>)

  • Prev by Date: Re: POSIX file usage
  • Next by Date: Re: filling blanks on www-sites
  • Previous by thread: Opening System Preference Panes
  • Next by thread: Re: Opening System Preference Panes
  • Index(es):
    • Date
    • Thread