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

Re: Why this doesn't work?


  • Subject: Re: Why this doesn't work?
  • From: Emmanuel <email@hidden>
  • Date: Wed, 13 Aug 2003 00:37:49 -0700

At 10:39 PM -0300 12/08/03, Marcus Rodrigues wrote:
>I thought it was very easy, but it does not compile:
>
>get (name of application whose the frontmost is true)

It seems a general agreement that you should use System Events, but as for me I use Finder:

--------------------------------
tell application "Finder" to get name of (first process whose frontmost is true)
-- "Smile"
--------------------------------

Emmanuel
_______________________________________________
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: Why this doesn't work?
      • From: Lewis Butler <email@hidden>
References: 
 >Why this doesn't work? (From: Marcus Rodrigues <email@hidden>)

  • Prev by Date: Re: PDF Services - I'm lost...
  • Next by Date: Re: Fwd: scripts revert to <<class foobar>>
  • Previous by thread: Re: Why this doesn't work?
  • Next by thread: Re: Why this doesn't work?
  • Index(es):
    • Date
    • Thread