Turn the numeric keypad into the remote control
Do It Yourself Productivity / / December 19, 2019
I know that the use of some features of any technology depends almost exclusively on the challenges set by the well and the personal predilections of man. I myself am very fond of "hot keys" and on occasion try to use them best. However, I have always been embarrassed by the need to add modifiers (Ctrl, Alt, Shift), to the keys themselves, because function keys and then used in applications, so historically bequeathed to us even IBM-skie design guides. But the use of Ctrl + F * seem to me unnatural, every time it is necessary to hold a mini crucifix that tired fingers beyond measure. But I found a way to solve this problem.
Think about what keys I use less often than other, I realized that it was a numeric keypad. Traditionally, I'm used to and computing tasks are performed by a core set of claves, probably due to the fact that once wrote the code. The first step has been taken: the keys are found, it remains to turn them into a powerful assistant.
For this, I wrote a small handler for AutohotkeyThat are designed to perform a simple in general functions:
- To make sure that the program associated with this key is running, and if not - to run it;
- Activate this program;
- Minimize all other windows in some cases.
Why I would like to minimize the other windows? Simply because it allows to concentrate on the task is executed, allowing you to reality as to switch channels. You agree you could not escape on TNT, if you see only the channel "Culture".
Field tests were successful, although the scripts probably can do better if you can - share with me and all the readers in the comments. I even seriously thinking about how to print or order the stickers on the keys, icons representing the most commonly used applications me. In addition, you can turn a specific set of processors in odtelny executable file to share with others, for example.
Here is an example script, suitable for Gmail, working in Chrome:
SwitchTo () {
WinMinimizeAll
WinActivate
WinRestore A
return
}
Numpad1 ::
IfWinExist, Gmail
SwitchTo ()
else
Run «C: \ Documents and Settings \ Aleexey \ Local Settings \ Application Data \ Google \ Chrome \ Application \ chrome.exe» -app = https://mail.google.com/mail
return
I think you get the idea: it is necessary to check whether the program is running (this can be done by title or class Window), and depending on this libozapustit it, or switch to it, turning the other window. Let your imagination run wild.