Re: are WeatherPop running
Re: are WeatherPop running
- Subject: Re: are WeatherPop running
- From: Walter Ian Kaye <email@hidden>
- Date: Sat, 3 Jan 2004 18:25:39 -0800
At 06:18p -0700 01/03/2004, Robert Poland didst inscribe upon an
electronic papyrus:
Hi,
Sitting here with nothing better to do
Trying to get this to work;
-- Is WeatherPop running?
tell application "Finder"
if (processes whose name = "WeatherPop") {} then
say "WeatherPop"
end if
end tell
if exists (process 1 whose name is "WeatherPop") then ...
and
Need a way to tell if "Install Script Menu" has been run. These both
are menu bar items that show up visually but I haven't been able to
test them with a script.
Ah, this is OS X?
tell application "System Events"
set gotScriptMenu to exists (process 1 whose name is "Script Menu")
end tell
if gotScriptMenu then say "Check out FastScripts instead!"
-boo
_______________________________________________
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.