Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Toggle Clock window easily in 10.3 via Applescript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Toggle Clock window easily in 10.3 via Applescript
Authored by: chally on Apr 19, '04 02:56:33PM
I was unaware of that. So the script would then look like this:
-- Toggle Clock.scpt

tell application "System Events" to set theCount to ¬
	the count of (processes whose name is "WindowClock")

if theCount > 0 then
	tell application "WindowClock" to quit
else
	tell application "WindowClock" to run
end if


[ Reply to This | # ]