LAlt up::a
The above line (line 127) causes this error when I run it:
Error at line 127.
Line Text: *LAlt up up::
Error: Invalid hotkey.
I'm just a noob. Am I missing something here?
(v2) Adding extra “up”? (up up::) Topic is solved
Re: (v2) Adding extra “up”? (up up::)
@Helgef
Would you mind telling me which part of that page
references why LAlt up::a would appear as *LAlt up up:: ?
Would you mind telling me which part of that page
references why LAlt up::a would appear as *LAlt up up:: ?
Re: (v2) Adding extra “up”? (up up::) Topic is solved
which means that LAlt up::a is translated toWhen a script is launched, each remapping is translated into a pair of hotkeys. For example, a script containing a::b actually contains the following two hotkeys instead:
Code: Select all
*a:: SetKeyDelay -1 ; If the destination key is a mouse button, SetMouseDelay is used instead. Send "{Blind}{b DownR}" ; DownR is like Down except that other Send functions in the script won't assume "b" should stay down during their Send. return *a up:: SetKeyDelay -1 ; See note below for why press-duration is not specified with either of these SetKeyDelays. Send "{Blind}{b Up}" return
Code: Select all
*LAlt up::
SetKeyDelay -1 ; If the destination key is a mouse button, SetMouseDelay is used instead.
Send "{Blind}{a DownR}" ; DownR is like Down except that other Send functions in the script won't assume "b" should stay down during their Send.
return
*LAlt up up::
SetKeyDelay -1 ; See note below for why press-duration is not specified with either of these SetKeyDelays.
Send "{Blind}{a Up}"
return
Cheers.
Who is online
Users browsing this forum: songdg and 63 guests