[v2.0] Compiled Script Throws Error Topic is solved

Report problems with documented functionality
Elequosoraptor
Posts: 18
Joined: 11 Oct 2017, 09:04

[v2.0] Compiled Script Throws Error

Post by Elequosoraptor » 21 Dec 2022, 09:25

Hello. When I try to run a compiled script with '/' as a hotkey and the wildcard modifier, I get an error that there's an extra curly brace.

Here is the code:

Code: Select all

*/::{
        SendInput("{Blind}¶")
}
The hotkey works perfectly when running the uncompiled version, and if I do not include the wildcard modifier it of course works fine.

guest3456
Posts: 3469
Joined: 09 Oct 2013, 10:31

Re: [v2.0] Compiled Script Throws Error

Post by guest3456 » 21 Dec 2022, 12:20

wonder if it has to do with parsing the comment block /* */



TAC109
Posts: 1129
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: [v2.0] Compiled Script Throws Error  Topic is solved

Post by TAC109 » 21 Dec 2022, 18:21

@Elequosoraptor

This bug has been fixed in Ahk2Exe v1.1.36.02b v1.1.36.02c. See this post for download details.

Cheers
My scripts:-
XRef - Produces Cross Reference lists for scripts
ReClip - A Text Reformatting and Clip Management utility
ScriptGuard - Protects Compiled Scripts from Decompilation
I also maintain Ahk2Exe

Post Reply

Return to “Bug Reports”