Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Get preference panel names for UI Scripting' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Get preference panel names for UI Scripting
Authored by: SimonDorfman.com on Mar 23, '04 06:10:59PM
nice. i added copy to clipboard...

--open system preferences to desired panel, then run script to find out name.
tell application "System Preferences"
	set thePane to the name of the current pane
	set the clipboard to thePane
	display dialog thePane & return & return & "This has been copied to the clipboard."
end tell


[ Reply to This | # ]
Get preference panel names for UI Scripting
Authored by: ranker on Mar 24, '04 11:33:03AM
To get a list of all the preference panes do this:
tell application "System Preferences"
	name of panes
end tell


[ Reply to This | # ]