While GetKeyState Issue with jaco0646 user defined dynamic hotkeys script

Get help with using AutoHotkey and its commands and hotkeys
Nator
Posts: 4
Joined: 11 Jun 2018, 18:41

While GetKeyState Issue with jaco0646 user defined dynamic hotkeys script

14 Jun 2018, 15:01

Hi, I'm trying to do a while getkeystate with the user defined dynamic hotkeys from user jaco0646. Thanks to him for this awesome script.

My code is supposed to run in Label3, and do a loop while the defined hotkey is pressed, but I can't seem to figure why it won't start. I tried replacing ThisHotKey with other variables like HK3, savedHK3. Tried with tilde, without, with %, without. I need to be able to break from the loop while releasing the key.

I don't know why my key press isn't detected. If I run this in label 3, it works:
MsgBox,% A_ThisLabel "`n" A_ThisHotkey



Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus


Return to “Ask For Help”

Who is online

Users browsing this forum: nonvenomous, wideeyedguy and 45 guests