• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Is "item n whose..." valid?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is "item n whose..." valid?


  • Subject: Is "item n whose..." valid?
  • From: Chris Page <email@hidden>
  • Date: Mon, 3 Jun 2002 02:07:00 -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.

References: 
 >Re: Application and application process are legacy in OS X finder suite: how do I find the frontmost app? (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Is "item n whose..." valid?
  • Next by Date: Re: Is "item n whose..." valid?
  • Previous by thread: Re: Is "item n whose..." valid?
  • Next by thread: Re: Application and application process are legacy in OS X finder suite: how do I find the frontmost app?
  • Index(es):
    • Date
    • Thread