Re: script object properties: seeking confirmation
Re: script object properties: seeking confirmation
- Subject: Re: script object properties: seeking confirmation
- From: Andy Wylie <email@hidden>
- Date: Mon, 11 Mar 2002 09:51:45 +1300
on 7/3/02 10:11 AM, Arthur J Knapp at email@hidden wrote:
[*]
>
*Conceptually*, an object is simply a more powerful type of
>
record, in that it carries around it's own commands.
[*]
which is not to say records can't carry simple 'getable' commands, still
you've got to tickle either to get anything out them...
property bar : missing value
foo()
display dialog (get bar's {name, rank, number}) as string
on foo()
try
set bar to {name:(get name of selection of application "Finder"),
rank:current date, number:random number}
return bar
on error errMsg number errNum
end try
end foo
_____________________________ Andy
_______________________________________________
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.