Using environment variables is ideal if you use multiple different versions of Windows. As you can see, the file path supports both a direct path or one of Windows environment variables. The above script sets the F1 key to launch Notepad in any modern version of Windows. My favorite thing to do with the function keys is to set them to launch programs that I often use but don’t often keep open. AutoHotkey is a free, open-source scripting platform for Windows that you can use to automate just about anything. For others, these keys may simply be useless. Panic Button panic-button.ahk Immediately quits the game when triggered. ALT + 3: Start a loop where it presses F for 2 seconds (good for dismantling items). ALT + 2: Start a loop where it rapidly clicks the left mouse button (good for token exchange). Depending on your keyboard layout, the reach to this row of keys could be an uncomfortable trade-off compared to their functionality. ALT + 1: Start a loop where it presses the left mouse button for 2 seconds then release. Repurpose The Function Keysįor many of us, the function keys (F1–F12) end up completely unused. While I laid out a more detailed explanation for installing, setting up, and creating scripts using AutoHotKey in the aforementioned article, all you have to do is download the application, bring up a text editor, and save and run any of the following scripts to get them working immediately. Let me share with you five of the most useful AutoHotKey scripts for everyday PC use. Other resources ahkscript/awesome-AutoHotkey Drugoy/Autohotkey-scripts-.ahk denolfe/AutoHotkey camerb/AHKs cocobelgica/AutoHotkey-Util jNizM/AHKScripts.
0 Comments
Leave a Reply. |