• 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 doesn't work???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: frontmost doesn't work???


  • Subject: Re: frontmost doesn't work???
  • From: David Marshall <email@hidden>
  • Date: Mon, 3 Sep 2007 15:31:14 -0400

On Mon, 3 Sep 2007 11:12:51 -0400, Michael Ghilissen wrote:

tell application "System Events" to set x to name of (first process
whose frontmost is true)

Or, a little closer to the original script:

tell application "Finder"
	set x to name of (path to frontmost application)
end tell

- - - - -

Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Prev by Date: Re: running shell in background....
  • Next by Date: Re: running shell in background....
  • Previous by thread: Re: frontmost doesn't work???
  • Next by thread: FileMaker AppleScript question...
  • Index(es):
    • Date
    • Thread