Re: dereferencing
Re: dereferencing
- Subject: Re: dereferencing
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 02 Sep 2003 13:20:04 -0700
On 9/2/03 12:08 PM, "Steven Majewski" <email@hidden> wrote:
>
Is there any generic dereferencing syntax in Applescript ?
'contents of', or usually (not always) set a variable to the reference which
evaluates it to its value, or use the explicitly 'get' with parentheses
contents of (field 1 of window 1 of application ... )
--should work
set aVariable to (field 1 of window 1 of application ... )
-- [may or may not work: may still be the reference]
get field 1 of (get window 1) of application ...
-- [may or may not work: may still be the reference]
There are some really great advantages when developers implement the
reference instead of evaluating - you can go on manipulating the variable
you set to the reference without constantly having to get it again, and you
can set it too.
--
Paul Berkowitz
_______________________________________________
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.
References: | |
| >dereferencing (From: Steven Majewski <email@hidden>) |