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 17:33:06 +0100
Michelle Steiner wrote:
tell application "Finder"
set targetWindow to the front window
class of position of targetWindow
end tell
--> property
Curious. Didn't know Finder did that, although it's probably best not
to read anything into it. A return value of 'property' is pretty
meaningless really, and I notice other apps often return nonsense
values (e.g. Smile) or errors (e.g. Cocoa apps) for similar requests,
so I suspect it's undocumented or undefined behaviour - that is, an
accidental artifact of Finder's internal workings - rather than a
planned feature intended for public use.
HTH
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