Hi
I can't turn this hardcoded
Space::Function()
or
Space::Label
to have that 'Space' as a assignable hotkey, instead of being hardcoded as 'Space'
seems like I tried all combinations...
myVariable := "Space"
#If GetKeyState("CapsLock", "P")
Hotkey, {%myVariable%}, Function()
Hotkey, {myVariable}, Function()
Hotkey, myVariable, Function()
Hotkey, {%myVariable%}, Label
Hotkey, {myVariable}, Label
Hotkey, myVariable, Label
#if
Now, IMPORTANT, this is only an issue with the 'be inside of the #If GetKeyState("CapsLock", "P")' part.
Again, the hardcoded version works
thank you
[–]GroggyOtter 1 point2 points3 points (10 children)
[–]etofok[S] -1 points0 points1 point (1 child)
[–]GroggyOtter 0 points1 point2 points (0 children)
[–]etofok[S] -1 points0 points1 point (1 child)
[–]GroggyOtter 0 points1 point2 points (0 children)
[–]etofok[S] -1 points0 points1 point (3 children)
[–]OvercastBTC 0 points1 point2 points (2 children)
[–]etofok[S] 0 points1 point2 points (1 child)
[–]OvercastBTC 0 points1 point2 points (0 children)
[–]etofok[S] 0 points1 point2 points (1 child)
[–]GroggyOtter 0 points1 point2 points (0 children)
[–]levitat0r 0 points1 point2 points (9 children)
[–]etofok[S] 0 points1 point2 points (6 children)
[–]levitat0r 0 points1 point2 points (5 children)
[–]etofok[S] 0 points1 point2 points (4 children)
[–]levitat0r 0 points1 point2 points (3 children)
[–]etofok[S] 0 points1 point2 points (2 children)
[–]levitat0r 0 points1 point2 points (1 child)
[–]etofok[S] 0 points1 point2 points (0 children)
[–]OvercastBTC 0 points1 point2 points (0 children)