storing old hotkeys Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
KongKing
Posts: 76
Joined: 22 May 2022, 09:41

storing old hotkeys

Post by KongKing » 18 Nov 2022, 18:52

Hello!
How to make a key limit on the editbox, the point is that I type in the editbox, for example, the "g" key, I click it, then I change it to, for example, "u", I click u and it works, but the old key also works, and how to make this old key not work and only the latest typed worked

Code: Select all

gui, add,edit, gsave vedit
Gui, show, w400 h400, gui

return


save:
gui,submit,nohide
Hotkey, %edit%, edit
return


edit:
msgbox, :)
return

User avatar
mikeyww
Posts: 27366
Joined: 09 Sep 2014, 18:38

Re: storing old hotkeys

Post by mikeyww » 18 Nov 2022, 20:09

Hotkey has options called On and Off, so that you can disable the old one.

Explained: Hotkey

KongKing
Posts: 76
Joined: 22 May 2022, 09:41

Re: storing old hotkeys

Post by KongKing » 18 Nov 2022, 20:49

how to use it? I added this argument and now the key doesn't work..


KongKing
Posts: 76
Joined: 22 May 2022, 09:41

Re: storing old hotkeys

Post by KongKing » 19 Nov 2022, 11:01

Thank you very much for your help :superhappy:

Post Reply

Return to “Ask for Help (v1)”