• 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: Andrew Oliver <email@hidden>
  • Date: Tue, 12 Aug 2003 19:52:43 -0700

First, you need to target System Events to get this information, secondly
you need the application _process_, not just 'application, and finally, you
need some kind of selector such as 'first' or 'every', so:

tell application "System Events"
get name of first application process whose frontmost is true
end tell

Andrew
:)

On 8/12/03 6:39 PM, "Marcus Rodrigues" <email@hidden> wrote:

> I thought it was very easy, but it does not compile:
>
>
> get (name of application whose the frontmost is true)
>
>
> Any clue????
>
> Thx ;-)
>
>
>
>
>
>
> Minha situaC'C#o atual no iChat:
>
> b" Meu Status do iChat C) Available.
> b" Minha mensagem de Status C) Minha data e hora local sC#o Tuesday,
> August 12, 2003 10:25:37 PM. :D.
> b" Meu tempo longe do aibuque C) 0 segundos.
>
> Status do iChat conseguido via AppleScript
>
> o#? Marcus Rodrigues o#?
> iBook 600 - Combo - Jaguar
> CC4nsul do Brasil Apple Clube - Caxias do Sul
> Moderador BAC-Macusers
> ichat: marcusrodrigues
> mailto:email@hidden
> http://homepage.mac.com/marcusrodrigues
> _______________________________________________
> 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.
_______________________________________________
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: Michelle Steiner <email@hidden>
References: 
 >Why this doesn't work? (From: Marcus Rodrigues <email@hidden>)

  • Prev by Date: Re: Artist in iTunes
  • Next by Date: Re: Why this doesn't work?
  • Previous by thread: Why this doesn't work?
  • Next by thread: Re: Why this doesn't work?
  • Index(es):
    • Date
    • Thread