anyone know how to set up a third coordinate for the autoIT scripts?
i know the first and second ones look like this.
MouseClick("left",$sx,$sy,1)
MouseClick("left",$rx,$ry,1)
Help would be appreciated
Those are just variable references. Make up a new one. o_o
like MouseClick("left",$gx,$gy,1) ?
Originally Posted by Corntoast
like MouseClick("left",$gx,$gy,1) ?
You could be literal. MouseClick("left",400,100,1) .
Or you can set variables and use those (like your example).
I'm assuming you got those from someone elses script. They are setting variable for the click spot for different resolutions. I assume from looking at it sx,sy = start button x coord, start button y coord.. Rx,ry = replay boat x coor, replay boat y coord.
Posts 1–9 of 9 · Page 1 of 1
Post a Reply
Tags for this Thread
None
Thanks Thanks!
its good to know the reason behind it too, i would double thank you if i could for giving the answer and explaining~
but if you can just enter the coordinates im just going to do that, theres no point in keeping that extra coordinate file then.
Moved to help
SORRY SID
*cries in corner*
New Question, isntead of opening a new topic-------
Can someone explain to me exactly what this does?
$i = 0
While $i < 31
Send("{8}") ;// Set this to whatever Spawns Spears command is bound to.
Send("{f}") ;// Throws spears for approx. 10 times (5 seconds backup)
$i = $i + 1
Sleep(700)
WEnd
Originally Posted by Corntoast
SORRY SID
*cries in corner*
New Question, isntead of opening a new topic-------
Can someone explain to me exactly what this does?
Code:
$i = 0
While $i < 31
Send("{8}") ;// Set this to whatever Spawns Spears command is bound to.
Send("{f}") ;// Throws spears for approx. 10 times (5 seconds backup)
$i = $i + 1
Sleep(700)
WEnd
$i = 0 Declares a variable "i" and sets it's value at 0.
While $i < 31 Starts a loop. As long as "i" is less then 31 then the code in between this line and WEnd will run.
Send("{8}") This presses the key "8".
Send("{f}") This presses the key "f".
$i = $i +1 This adds 1 to the value of the variable "i" which started at 0 so the first loop through "i" becomes 1, then next loop 2 and so on until it's 31 which is when it will stop looping and move on to the next line of code after Wend.
Sleep(700) A 700 milisecond pause (less then a second 1000miliseconds is 1 second)
Wend Already explained