DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: AutoHotKey bound hotkeys routinely being stolen  (Read 53,056 times)

TerminalFin

  • Participant
  • Joined in 2024
  • *
  • Posts: 4
AutoHotKey bound hotkeys routinely being stolen
« on: October 30, 2024, 02:00 PM »
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 eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: AutoHotKey bound hotkeys routinely being stolen
« Reply #1 on: October 30, 2024, 03:13 PM »
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

  • Participant
  • Joined in 2024
  • *
  • Posts: 4
Re: AutoHotKey bound hotkeys routinely being stolen
« Reply #2 on: October 30, 2024, 03:28 PM »
A little birdie told me you would be the one replying, Skwire :)

I think it was April ;-)

Original address: https://www.donationcoder.com/forum/index.php?topic=54562.0