Search found 5 matches

by Askeron52
09 May 2024, 06:41
Forum: Ask for Help (v2)
Topic: [v2.0.13+ bug] "up" and "down" states make hotkeys invalid
Replies: 4
Views: 444

Re: [v2.0.13+ bug] "up" and "down" states make hotkeys invalid

So, I did a more thorough test and can confirm that indeed you were right, the proposed code works in all three versions (it wasn't working earlier because of another problem in my script).
I'd say the issue is figured out now, thanks to you!
by Askeron52
08 May 2024, 18:10
Forum: Ask for Help (v2)
Topic: [v2.0.13+ bug] "up" and "down" states make hotkeys invalid
Replies: 4
Views: 444

Re: [v2.0.13+ bug] "up" and "down" states make hotkeys invalid

The proposed solution still crashes the script in both 2.0.13 and 2.0.14 (curiously, it also crashes in 2.0.12, while the original code didn't). My interpretation is that putting "up" or "down" after a key as part of a remapping breaks the parsing of the script, since the given error is A ":" is mis...
by Askeron52
08 May 2024, 11:45
Forum: Ask for Help (v2)
Topic: [v2.0.13+ bug] "up" and "down" states make hotkeys invalid
Replies: 4
Views: 444

[v2.0.13+ bug] "up" and "down" states make hotkeys invalid

Lines such as the following do not work for me since 2.0.13 (still broken in 2.0.14), but used to work in 2.0.12:

Code: Select all

+ up:: WheelUp
- up:: WheelDown
Space up:: Enter
These lines give "Error: invalid hotkey"

[Mod edit: Moved topic from 'Bug Reports'.]
by Askeron52
12 Feb 2024, 07:56
Forum: Ask for Help (v2)
Topic: "Unsupported prefix key" when combining joypad keys
Replies: 2
Views: 62

Re: "Unsupported prefix key" when combining joypad keys

boiler wrote:
12 Feb 2024, 07:23
It’s a not a bug. You are attempting to do something that is not supported. From the Hotkeys documentation on Custom Combinations:
Hotkeys > Custom Combinations wrote:A custom combination of two keys (including mouse but not controller buttons) can be defined by using " & " between them.
Oh I missed that part, thank you!
by Askeron52
12 Feb 2024, 06:52
Forum: Ask for Help (v2)
Topic: "Unsupported prefix key" when combining joypad keys
Replies: 2
Views: 62

"Unsupported prefix key" when combining joypad keys

Defining hotkeys with multiple joypad keys triggers unexpected "Unsupported prefix key", as in the code below Joy9 & Joy10:: { ; code here... } Manually setting a hotkey produces the same effect Hotkey("2Joy1 & 2Joy2", (hk) => MsgBox(hk)) I'm not sure if it's a bug or if there's something wrong with...

Go to advanced search