Re: Why this doesn't work?
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.