3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Easy stealth footswitch / pedal to minimize windows and show Desktop

Step 7Programming the Scroll Lock key to hide all the windows

Programming the Scroll Lock key to hide all the windows
«
  • Dibujo.JPG
  • installed.JPG
So far, the foot switch only presses the scroll lock key, which is kind of useless. We need a freeware program called AutoHotKey to tell the computer to minimize all when we press the key. This program has a lot of functionality (sadly, only under windows and not in Linux), but we will use just the basics. If you want more information you can read the embedded help.

So:

1) Download the program from http://www.autohotkey.com/download/ download the "Install AutoHotKey" option.

2) Install the program, it's pretty straightforward

3) Then we have to program the code in a text file called minimize.ahk , you can find the file for downlad below, but in case you want an explanation of the code, here you have:

SetScrollLockState, AlwaysOff ------------ this will turn off the scroll lock LED light

ScrollLock:: --------- if you press the Scroll Lock key, the function will minimize all the windows
WinMinimizeAll
return

+ScrollLock:: -------- if you pres the Scroll Lock key, while holding the Shift key, all the windows will return to the screen
WinMinimizeAllUndo
return

You can download the file below, and save it inside the AutoHotkey folder in you computer.

minimize.ahk118 bytes
« Previous StepDownload PDFView All StepsNext Step »
3 comments
Dec 7, 2009. 10:50 AMTubehacker01 says:
Yeah, that's exactly what I got.
However, I made this work by simply replacing ''+ScrollLock with Pause. It works perfectly now, so I'm more than happy.

I'm currently running win 7, maybe this has something to do with it...
Nov 28, 2009. 2:23 PMTubehacker01 says:
Hey! That file doesn't work, it only minimizes and doesn't undo :( Any ideas why?


GREAT INSTRUCTABLE +++++

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
3
Followers
3
Author:eliastorre(My company blog!)
Hi there, member since long time ago, but just recently added something.