Re: sticking it to stickies

[prev] [thread] [next] [lurker] [Date index for 2005/11/15]

From: Jeremy Weathers
Subject: Re: sticking it to stickies
Date: 02:19 on 15 Nov 2005
> Maybe I can just tell it to quit if it's not running! Well, actually,
> I don't see a simple way to ask whether a named application is
> running.

tell application "System Events"
    if (exists process "Stickies") then
        tell application "Stickies"
            try
                quit
            end try
        end tell
    end if
end tell

--=20

Jeremy Weathers


Sony-Ericsson: We put the "slow" in
"Damn, this crappy phone is slow!"
    - Wil Shipley

Generated at 21:00 on 16 Nov 2005 by mariachi 0.52