Re: which app?
Re: which app?
- Subject: Re: which app?
- From: Christian Vinaa <email@hidden>
- Date: Mon, 14 Mar 2005 23:08:14 +0100
At 21:26 +0100 14/03/2005, wayne melrose wrote:
Hi,
I want to write a scripting which identifies which application is
the frontmost application. The script is going to be in the scripts
menu, and when activate will do certain things depending on which
application is being used..
To be more specific this is what I would like to do..
set myapp to get the name of current application -- which
from the scripts menu returns "System Events"
if myapp is "Indesign CS" then
-- do something
else
--do something else
end if
perhaps something in the lines of:
tell application (path to frontmost application as string)
--
Christian Vinaa
...... Meanwhile, aunt Martha, having taken a tramp in the woods,
is lying in a ditch at the edge of town .........................
_______________________________________________
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
References: | |
| >which app? (From: wayne melrose <email@hidden>) |