• 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: How to get frontmost application?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get frontmost application?


  • Subject: Re: How to get frontmost application?
  • From: Paul Berkowitz <email@hidden>
  • Date: Fri, 08 Feb 2002 15:20:10 -0800

On 2/8/02 2:13 PM, "Allen Watson" <email@hidden> wrote:

> And, as you and I, Paul, have discussed before, in OSX, with a script run
> from Script Menu, there is no way to correctly get the frontmost app. The
> line you gave, in that case, returns "SystemUIServer.app", which is what
> handles Script Menu, I suppose. I still very much want some way for a Script
> Menu script to tell what app is (was) frontmost when I invoked it, so it can
> do things like take different actions depending on what app is in front.

Actually, I sent you my scripts which do just that, in a rather roundabout
way, but they work. I also posted them here, but nobody was interested. (And
when I mentioned that fact a week or so ago, Jon Pugh wrote back to say that
he still isn't interested.) If you are, but have lost them, I can send them
to you again privately.

--
Paul Berkowitz
_______________________________________________
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.

  • Follow-Ups:
    • Re: How to get frontmost application?
      • From: Jon Pugh <email@hidden>
References: 
 >Re: How to get frontmost application? (From: Allen Watson <email@hidden>)

  • Prev by Date: ASTONISHING RESULTS + erratum & addendum (Calculate sizes script)
  • Next by Date: Re: Subroutine that works only on the 1st run
  • Previous by thread: Re: How to get frontmost application?
  • Next by thread: Re: How to get frontmost application?
  • Index(es):
    • Date
    • Thread