I have been spending a lot of time over at DonationCoder.com.
They have this great 'coding snacks' forum where visitors can request small utility programs and volunteers will create them. It's a great way to get project ideas, or kill a bit of time doing what you know you love to do...code stuff.
Someone there requested a stopwatch with a global hotkey to control it. They wanted it to either always stay on top or be able to be minimized to the system tray.
Since I had already done a stopwatch like this, all it needed was the addition of a global hotkey and the request would be filled...so that's what I did.
The hotkey is Ctrl-Shift-F9.
Hitting this will start/pause/resume, depending on the current state of the clock.
This will even work to control the stopwatch if it is minimized to the tray.
Enjoy!
Download: StopWatch
comments & suggestions welcomed
2 comments:
Thanks for the link; this is a pretty nifty tool. I originally downloaded the tool and used it on my XP machine. I am now using the early release of windows 7 and it seems to have stopped working. It may be my machine as some of my devices were not functioning at first?
There is no reason why it wouldn't work on Win7. It doesn't use any code specific to any Windows version. It should work on all Windows versions from Win95 through Win7.
The only foreseeable issue one might have is a global hotkey conflict, which could occur if another application registers the same hotkey as this application, first. In that case, you would get an error message telling you it couldn't assign the hotkey.
But even if that were to happen, it would still run fine, only the hotkey functionality would be disabled, unless and until you closed the application using that hotkey and restart the stopwatch.
Post a Comment