Re: Active application - how to tell?
Re: Active application - how to tell?
- Subject: Re: Active application - how to tell?
- From: Christopher Nebel <email@hidden>
- Date: Tue, 22 Jun 2004 10:11:34 -0700
On Jun 22, 2004, at 1:58 AM, Christopher Stone wrote:
At 09:59 +0200 06/22/2004, Peter Mathiessen wrought:
How do I tell the System event application if an application is
running or
not?
You can do something like this:
tell application "System Events"
if exists (process 1 whose name is "Tex-Edit Plus") then
...which is really just a complicated way of saying
tell application "System Events"
if exists process "Tex-Edit Plus" then
...
--Chris Nebel
AppleScript Engineering
_______________________________________________
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.