• 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: Frontmost App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Frontmost App


  • Subject: Re: Frontmost App
  • From: Donald Hall <email@hidden>
  • Date: Sun, 13 Feb 2005 00:16:12 -0700

Try something like this:

tell application "System Events" to set theName to the name of every process whose frontmost is true

This returns a one element list. For example:

{"Script Editor"}

Regards,

Don

At 9:18 AM -0800 2005/02/12, Manfred M. Strasser wrote:

How can I get the Name of the frontmost Application? Assumed this app has no open window.

br
Manfred

-- Donald S. Hall, Ph.D. Apps & More Software Design, Inc. email@hidden http://www.appsandmore.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Re: Slightly OT: InDesign cells \ tables
  • Next by Date: Re: setting up resoloution
  • Previous by thread: Re: Frontmost App
  • Next by thread: Handlers in applications
  • Index(es):
    • Date
    • Thread