• 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 and --Script Menu-- (oops)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Frontmost App and --Script Menu-- (oops)


  • Subject: Re: Frontmost App and --Script Menu-- (oops)
  • From: Michael Terry <email@hidden>
  • Date: Sun, 11 Apr 2004 18:39:41 -0700

On Apr 11, 2004, at 5:36 PM, Irwin Poche wrote:

Can I do what I'm wanting to do and, if so, how ?


If the only problem is getting the true front application from Script Menu, you should replace your handler with this:

----------------------------------

on FrontmostApp()
tell application "Finder"
return displayed name of (path to frontmost application)
end tell
end FrontmostApp

----------------------------------

Mike
_______________________________________________
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: Frontmost App and --Script Menu-- (oops)
      • From: Irwin Poche <email@hidden>
References: 
 >Frontmost App and --Script Menu-- (oops) (From: Irwin Poche <email@hidden>)

  • Prev by Date: Frontmost App and --Script Menu-- (oops)
  • Next by Date: Re: Just submitted this to BugReporter as feature request - comments...
  • Previous by thread: Frontmost App and --Script Menu-- (oops)
  • Next by thread: Re: Frontmost App and --Script Menu-- (oops)
  • Index(es):
    • Date
    • Thread