Re: Finder's dictionary
Re: Finder's dictionary
- Subject: Re: Finder's dictionary
- From: Craig Sutherland <email@hidden>
- Date: Mon, 22 Dec 2003 16:35:57 -0600
Guillame,
Welcome to Applescripting!
On Dec 22, 2003, at 12:58 PM, Guillaume Iacino wrote:
Hi,
Where can I find the dictionary for the FInder and the System
preferences on OS X?
I've looked around on the web and Apple's web site but I cannot find
it.
Dictionaries are viewed from with the Script Editor application or
other script editing apps. In Script Editor you choose Open Dictionary
from the File menu or Library from the Window menu which shows a list
of Dictionaries you have used.
I am specifically looking about how to "detect display", "Set screen
resolution" etc...
System Preferences at this point has limited direct scripting
abilities. Some applications are more scriptable than others. When you
look at System Preferences Dictionary and compare the amount of
information there to the Dictionary for Finder, you see that System
Preferences has less information.
You can script System Preferences using the user interface elements
(buttons, menus, etc). To do this you use Applescript to direct
different actions such as 'click' to the user interface elements in the
System Preferences Pane you are wanting to affect. A script included
with an OS X installation will give you a framework and example to work
with. There is a file- Set Network Location.applescript in
/Library/Scripts/UI Element Scripts. Note that this is the root Library
and not your /Users/username/Library. Look at the script in Script
Editor while the Network Preference pane is open to learn what the
script is doing.
HTH
Craig Sutherland
_______________________________________________
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.