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