BrAiNee Posted September 30 Posted September 30 (edited) ⚡ AutoIt Quick Tip: Changing Hotkeys at Runtime HotKeySet($myKey, _MyFunc) $oldKey = $myKey ; Change hotkey HotKeySet($oldKey) ; Unregister OLD key first $myKey = "^!x" ; Set NEW key this could also be done earlyer doenst matter because we have old key var :) HotKeySet($myKey, _MyFunc) $oldKey = $myKey Remember: Unregister OLD → Change variable → Register NEW Otherwise you might end up with an old hotkey still lurking in the background so i share this Quick ReMinder for you and me Edited September 30 by BrAiNee argumentum 1
argumentum Posted September 30 Posted September 30 56 minutes ago, BrAiNee said: Otherwise you might end up with an old hotkey still lurking in the background ..hard to think as if "Mr. Roboto" but yes, we assign a function to a hotkey and not the other way around Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting
BrAiNee Posted October 1 Author Posted October 1 i needed ~6 years to figure it out some day it makes click and you see the "brainfuck" argumentum 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now