If you find that Window's built in Show/Hide desktop feature is too aggressive for your needs, hiding your sidebar or widget applications, you may find this script useful. Many thanks to jaco0646 for helping me figure out how to make this work.
Code:
#IfWinNotActive, Program Manager
#Space::
WinMinimizeAll
WinActivate, Program Manager
return
#IfWinActive, Program Manager
#Space::WinMinimizeAllUndo
You can, of course, change the hotkey to anything you like.
Update:After some trial and error, I have devised a new script for this. The above works fine if you just want to create a hotkey, but the new version is much more flexible.
Code:
#NoEnv
#NoTrayIcon
IfWinActive, Program Manager
{
WinMinimizeAllUndo
}
Else
{
WinMinimizeAll
WinActivate, Program Manager
}
To assign a hotkey, just save this as a script to your hard drive, and point your hotkey to it in your always-running hotkey script, like so:
Code:
#Space::Run,Path to script
Or compile the script into an exe and point one of your tablet's special screen buttons at it. This was my whole reason for revising this, in fact. For some reason, my tablet screen buttons keep trying to open my .ahk scripts in notepad instead of running them, so I needed something that was hotkey independent and could be compiled.
Enjoy!
And thanks to everyone who participates in these forums. I learn so much going through the old threads, it's just wonderful to find such a nice, helpful community. After spending time in some Vista troubleshooting forums, I really appreciate the positive, helpful atmosphere here.