I made a script for a website to automatically search for criteria, but i need to add a random number in a specific price range.
Lets say i need to search between $3500 and 4000$, so this is my range where the number need to be randomized. (The website gets faster results if i change number between searches.)
How do i get this done? Now im clicking on the position where i need to enter (typ) the number, but i do it with the press command and its not random. I'll post part of script below.
Thank you in advanced, and sorry for my bad english.
Code: Select all
FindImagePos>%BMP_DIR%\image_2.bmp,SCREEN,0.7,4,XArr,YArr,NumFound,CCOEFF
If>NumFound>0
MouseMove>XArr_0,YArr_0
LDblClick
Wait>0.100
Endif
//Max bid
CapsOff
Press NP3
Press NP5
Press NP0 * 2
Wait>0.100