Keyboard macros for everyday tasks

Hello. 3r33939.  
Among society, it somehow happened that the recording of macros on the keyboard is a purely gaming need and is often found only on gaming keyboards. 3r33939.  
But in fact it’s just a record of a sequence of keystrokes. 3r33939.  
So why not use them for ordinary actions. And especially in the environment of blind users, when the use of the mouse is extremely inconvenient, and all navigation in windows is done using only one keyboard. 3r3391. 3r33939.  


I will try to give a couple of examples to understand. 3r33939.  
Variants of the necessary sequences can certainly come up with a great many. 3r3391. 3r33939.  

1. Opening the console in the current explorer folder 3r3357. 3r33939.  
Surely, many people know that if you click the right mouse button on an empty place in the Explorer while holding the shift key, then in the opened context menu you can select the “Open command window” item. 3r33939.  
To call the context menu on the keyboard there is also a special menu key. 3r33939.  
The main thing is to use it from scratch without selecting any object. 3r33939.  
To do this, you can first use a simple method of switching to the parent folder and returning back. 3r33939.  
Then the macro will look like this:
3r366. Alt + arrow_up
Shift + context_button
arrow_ down the required number of times to the desired point 3r3392.  
2. Run the code check for matching the code type

When programming, it is useful to check your code for compliance with the established styles of code design and the flake8 utility is interesting for this. 3r33939.  
Then to check the code with its help in the console opened by the previous macro, you can write to memory: 3r3391. 3r33939.  
3r366. flake8% CD%> flake8.log
After checking in the folder, a log file will be recorded, walking along which you can quickly correct your shortcomings. 3r3391. 3r33939.  


This article is not a guideline. 3r33939.  
The purpose of this article is to discuss the utility and disadvantages of programmable keyboard macros, not for games, but for other tasks. 3r33939.  
From the positive, I can note the convenience of performing any frequently repeated tasks by pressing just one button. 3r33939.  
Among the shortcomings: the keyboard reproduces the sequence with the same speed and delay between the presses as you entered when recording. 3r33939.  
From the macro I would like to play with greater speed. Maybe someone in the comments can tell if you can somehow get around this nuance. 3r3391. 3r33939. 3r399.
+ 0 -

Add comment