Re: Can not get "item" from "position"
Re: Can not get "item" from "position"
- Subject: Re: Can not get "item" from "position"
- From: has <email@hidden>
- Date: Wed, 4 Apr 2007 18:01:40 +0100
Michelle Steiner wrote:
Thanks for reply. It does work with ( ... as list ). It works with
( get ... ) as well (thanks Emmanuel).
It looks like O'Reilly is lying in its AS book. They claim (page
239 -- Secondary List Classes ) that Point is in fact a list --
which is obviously not true.
It is true; point is a list.
Technically it's a QuickDraw Point, but AppleScript doesn't have a
built-in 'point' type so just converts point values to two-item
lists, which is good enough.
Finder's "position" property is a property; it is not a point, even
though it describes a point.
The easier explanation is: A property contains a value.
Also, a person can go mad from thinking too hard about this stuff. ;)
has
--
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org
http://appscript.sourceforge.net/objc-appscript.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden