Re: What are the elements listed in a dictionary?
Re: What are the elements listed in a dictionary?
- Subject: Re: What are the elements listed in a dictionary?
- From: Jeffrey Mattox <email@hidden>
- Date: Sat, 22 Mar 2003 14:00:24 -0600
Thanks for the comments, but I'm still confused. Perhaps some
specificity to my original question would help:
A text field also has elements such as "movie view" and
"progress indicator." What does this mean, and how can I
use this information?
How can a text field contain a movie view or a progress indicator?
Jeff
At 4:00 pm -0600 21/3/03, Jeffrey Mattox wrote:
I must have dozed off during an important lesson, so I need some
remedial training. I am confused by the "elements" shown in an
AppleScript dictionary. Unlike the properties list, I've found
nothing useful about the elements list.
For example, a text field has properties such as "text color" and
"bezeled," so I know I can access and manipulate those properties of
my text fields.
A text field also has elements such as "movie view" and "progress
indicator." What does this mean, and how can I use this information?
At 11:26 PM +0000 3/21/03, John Delacour replied:
I think of elements as things that the object _contains_ as opposed
to its properties. For example "message" might be an element of
"mailbox" -- the mailbox contains messages -- but "name" is a
property of "mailbox" that you can change, provided it's not
read-only. Meanwhile the elements that "mailbox" contains will have
their own properties, so you can
set <some property> of <some element> in <some class> to <some value>
If you look at examples in various dictionaries, you'll find that the
dinstinction will become clear. It's an important distinction and
does take a bit of grasping.
JD
_______________________________________________
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.