Step containing variable does not execute
Posted: 14 Jul 2019, 15:48
Hello,
Can someone help me understand why the step containing the variable in the following script is not functioning?
The intent is to send an increasing number of Down arrows as the looping continues, ie:
Send {Down 4}
Send {Down 5}
Send {Down 6}
...etc...
The initial portion of the script progresses without a problem but the Send {Down var} step does not execute.
Thanks
Can someone help me understand why the step containing the variable in the following script is not functioning?
Code: Select all
F2::
;variables
prev := 3 ; starting number for Send {Down}
Loop, 6
{
...several steps...
var:=prev+A_Index ;
Send {Down var}
...several steps...
}
Return
Send {Down 4}
Send {Down 5}
Send {Down 6}
...etc...
The initial portion of the script progresses without a problem but the Send {Down var} step does not execute.
Thanks