Is "item n whose..." valid?
Is "item n whose..." valid?
- Subject: Is "item n whose..." valid?
- From: Chris Page <email@hidden>
- Date: Mon, 3 Jun 2002 02:07:58 -0700
On Sunday, June 2, 2002, at 11:14 AM, Christopher Nebel wrote:
On Sunday, June 2, 2002, at 12:03 AM, Timothy Bates wrote:
tell application "Finder" --10.1.4
item 1 of every application process whose frontmost is true
-->Worse: Finder got an error: NSReceiverEvaluationScriptError: 3
end tell
It was the last one that caught me - just plain buggy.
That's no bug, that's a feature!
So what does the following mean?
first application process whose frontmost is true
This sends the event:
get application process 1 whose frontmost = true
and the Finder returns a process.
When I try something similar with my app, I get an error. Stepping
through the OSL callbacks doesn't make it clear to me how this is
supposed to be handled. Is this a valid reference? I didn't find
anything like this in the ASLG.
--
Chris Page - Mac OS Lead, Palm Desktop - Palm, Inc.
The other, other Chris.
_______________________________________________
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.