ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Other Software > Developer's Corner

AutoHotKey bound hotkeys routinely being stolen

(1/1)

TerminalFin:
Greetings all!

I have a decent sized AHK script that contains multiple hotkeys and functions I use throughout the day. What I've found, however, is that from time to time, some of these hotkeys cease functioning.

As such, I've had to add in a "Reload" hotkey snippet that I can call that restores the other hotkeys and text replacements to function.

; Reload script
^!+x:: {
   Reload
   return
}

Is there a better way to do this, or to prevent the hotkeys/strings from being overriden by another app?

skwire:
I have a similar reload action for the same problem.  Welcome to Windows, eh?  Also, since you can fit all the important bits on one line, you can save some space and rewrite your hotkey thusly:



--- Code: Autohotkey ---^!+x:: Reload ; Reload script

TerminalFin:
A little birdie told me you would be the one replying, Skwire :)

I think it was April ;-)

Navigation

[0] Message Index

Go to full version