Re: IsRunning
Re: IsRunning
- Subject: Re: IsRunning
- From: Andy Wylie <email@hidden>
- Date: Wed, 17 Jul 2002 20:26:45 +1200
on 17/7/02 10:04 AM +1200: Kelsey Forsythe wrote:
>
I am using an application which uses the 'IsRunning' command. However,
>
it does not seem to be working. For instance, I might have iTunes
>
running and place the statement:
>
>
if (isRunning("iTunes") is false) then
>
quit
>
end if
>
>
and sure enough it executes the quit subprogram in the application. If
>
you have any ideas or links to information about using 'isRunning'
>
please let me know.
>
I'm don't know where you get 'isRunning' , process of Finder is usually
asked in AS for information about running applications...
tell application "Finder"
set procNames to name of (every process)
end tell
"Smile" is in procNames
-- true
_____________________________ Andy
_______________________________________________
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.
References: | |
| >IsRunning (From: Kelsey Forsythe <email@hidden>) |