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

Re: frontmost application


  • Subject: Re: frontmost application
  • From: Luther Fuller <email@hidden>
  • Date: Wed, 30 Nov 2005 13:55:36 -0600

I did a Google search for applescript & frontmost and found the suggestion:
tell application "Finder" to name of file (path to frontmost application as text)


It worked! I experimented further and found that 'frontmost application' is an
apparently undocumented argument of the 'path to' command in Scripting Additions.
You don't need to tell the Finder anything. Just write ...


    short name of (info for (path to frontmost application))

Why don't they document this stuff!
_______________________________________________
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


  • Follow-Ups:
    • Re: frontmost application
      • From: kai <email@hidden>
  • Prev by Date: Unable To Authenticate User
  • Next by Date: Re: frontmost application
  • Previous by thread: Re: frontmost application
  • Next by thread: Re: frontmost application
  • Index(es):
    • Date
    • Thread