Code: Select all
Loop 1156
var:= 11186
{
var+=1
ToolTip % var
Sleep, 85
SendInput {Raw}11186
SendInput {Raw}File 11186
SendInput {Raw}11186
}
return ;
The way I put it isn't working, any ideas?
Code: Select all
Loop 1156
var:= 11186
{
var+=1
ToolTip % var
Sleep, 85
SendInput {Raw}11186
SendInput {Raw}File 11186
SendInput {Raw}11186
}
return ;
Code: Select all
global MyCounterVar := 11186
loop 1156
{
MsgBox % MyCounterVar
MyCounterVar++
sleep 85
}
Hi NizM, that isn't working either.jNizM wrote:ExampleCode: Select all
global MyCounterVar := 11186 loop 1156 { MsgBox % MyCounterVar MyCounterVar++ sleep 85 }
Code: Select all
global MyCounterVar := 11186
loop 1156
{
ToolTip % MyCounterVar
MyCounterVar++
sleep 85
MouseMove, 572, 485, 5
Click 2
Sleep, 1000
SendInput {Raw}2013
Sleep, 1000
SendInput {Tab}
Sleep, 1000
SendInput {Raw}11186
Sleep, 1000
SendInput {Tab}
Sleep, 1000
SendInput {Raw}File n. 11186
Sleep, 1000
SendInput {Tab}
Sleep, 1000
SendInput {Raw}.
Sleep, 1000
SendInput {Tab}
Sleep, 1000
SendInput {Enter}
Sleep, 1000
SendInput {Raw}11186
Sleep, 1000
SendInput {Enter}
Sleep, 1000
SendInput {Tab}
Sleep, 1000
SendInput {Enter}
Sleep, 1000
MouseMove, 807, 260, 15
Sleep, 1000
click
Sleep, 1000
}
return ;
Esc::ExitApp
That's the idea, to show you a working concept and you specify your specifics on your own.The script works fine, except for the part that I especified.
I get it.BoBo wrote:That's the idea, to show you a working concept and you specify your specifics on your own.The script works fine, except for the part that I especified.
Hey wolf, thanks for the help.wolf_II wrote:Maybe your difficulty is caused by the order of the first two lines in your original script?
Change the order and you will get a script with the Loop command followed by a Block of commands that are meant to be looped over.
Currently your script will repeatedly assign the value 11186 to a variable 1156 times, and after that it will execute the block only once.
I hope that helps.
Code: Select all
var := 11186
Loop 1156
{
var+=1
ToolTip % var
Sleep, 85
SendInput {Raw}%var%
SendInput {Raw}File %var%
SendInput {Raw}%var%
}
return ;
Users browsing this forum: FortniteSpanishGuy, mihai369 and 171 guests