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

Script Menu and "front" property


  • Subject: Script Menu and "front" property
  • From: Allen Watson <email@hidden>
  • Date: Thu, 15 Nov 2001 10:33:17 -0800

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?
--
Allen Watson, Portland, OR -- <email@hidden>
My web page: <http://home.earthlink.net/~allenwatson/>
Teach only love, for that is what you are. (A Course in Miracles)


  • Follow-Ups:
    • Re: Script Menu and "front" property
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: RE: Photoshop 6.0.1 Droplets and Applescript
  • Next by Date: [OT] Grok (was) Idle handling, just not grokking it.
  • Previous by thread: Silencing Stuffit in a script?
  • Next by thread: Re: Script Menu and "front" property
  • Index(es):
    • Date
    • Thread