Re: GUI Scripting: Change Monitor Colors
Re: GUI Scripting: Change Monitor Colors
- Subject: Re: GUI Scripting: Change Monitor Colors
- From: Simon Forster <email@hidden>
- Date: Tue, 31 Dec 2002 11:26:57 +0000
On Monday, December 30, 2002, at 09:22 PM, Barbara Mueller wrote:
The pop up button is supposed to be "colors" but how can I find out
its number?
No number between 0 and 9 seems to work
You can "probe" for all the available GUI elements. Take a look at the
example script supplied by Apple called "Probe Window.applescript"
found in /Library/Scripts/UI Element Scripts/ or by following the
"Example Scripts" alias found in the /Applications/AppleScript/. Using
the basic principles given in this script you can dig down through a
window's hierarchy of UI elements and, if need be, get the properties
of each.
FWIW, I found the "get properties of every UI element" line to be
superfluous in most cases as what you tend to need is top level info
such as the UI element's name.
HTH
Simon Forster
___________________________________________________
LDML Ltd, Office One, 16 Canham Road, London, W3 7SR, UK
Tel: +44 (0)20 8749 7766 Fax: +44 (0)70 9230 5247
___________________________________________________
_______________________________________________
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.