• 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
Re: Script Menu and "front" property
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script Menu and "front" property


  • Subject: Re: Script Menu and "front" property
  • From: Paul Berkowitz <email@hidden>
  • Date: Thu, 15 Nov 2001 10:50:33 -0800

On 11/15/01 10:33 AM, "Allen Watson" <email@hidden> wrote:

> In OS X's Script Menu, if I run this script:
>
> tell application "Finder" to set wch to every process whose frontmost is
> true
>
> I get the result {"SystemUIServer"} instead of the process that was
> frontmost when I invoked the script.
>
> Is there a way to get the name of the process that was frontmost when I
> selected the script from the menu?

Ah, the Heisenberg Principle at work again...

Probably we need something in app "System Events" that can index the various
processes from front to back in order, like the late lamented OneClick
could. Then you could just ask for 'process 2' to get the previously
frontmost process. Or just a way to set application "SystemUIServer" to
de-activate or go to the back of the line. Can't very well tell it to quit.

I guess this is one of those not-useful-on-this-list-feature-requests Chris
Nebel was mentioning yesterday...

--
Paul Berkowitz


References: 
 >Script Menu and "front" property (From: Allen Watson <email@hidden>)

  • Prev by Date: RE: Idle handling, just not grokking it.
  • Next by Date: Re: Idle handling, just not grokking it.
  • Previous by thread: Script Menu and "front" property
  • Next by thread: Re: Script Menu and "front" property
  • Index(es):
    • Date
    • Thread