• 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: "Neal A. Crocker" <email@hidden>
  • Date: Fri, 30 Aug 2002 00:23:03 -0700

Date: Fri, 30 Aug 2002 00:23:56 -0400
From: Jon Rosen <email@hidden>
Subject: Opening System Preference Panes
To: email@hidden

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?

the following should work:

tell application "System Preferences"
activate
set current pane to pane "xxxx" -- xxxx should be replaced name of an actual pane
end

The names of the panes may be obtained with the script:


tell application "System Preferences"
get name of panes
end
_______________________________________________
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.

  • Prev by Date: Re: AppleScript Try
  • Next by Date: Re: POSIX file usage
  • Previous by thread: Re: Opening System Preference Panes
  • Next by thread: Re: Opening System Preference Panes
  • Index(es):
    • Date
    • Thread