Re: Opening System Preference Panes
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.