ink 0 Posted October 22, 2007 I'm Currently working on a code (look below) and i want to make the delay in secounds instead of milliseconds #cs ---------------------------------------------------------------------------- AutoIt Version: 3.2.4.4 Author: myName Script Function: Template AutoIt script. #ce ---------------------------------------------------------------------------- ; Script Start - Add your code below here Global $i = 1 Opt("MouseCoordMode", 2) $i1 = InputBox("Question", "how many times do you want the mouse to move must be numbers") $delay = InputBox("Question", "how much delay should there be between each mouse move?") While $i <= $i1 Sleep($delay) MouseMove(0,0, 2) $i = $i + 1 wend Share this post Link to post Share on other sites
Siao 6 Posted October 22, 2007 So, how many miliseconds are there in one second? "be smart, drink your wine" Share this post Link to post Share on other sites
ink 0 Posted October 22, 2007 y eah I know that but is it possible to write it in secound instead of millisecounds Share this post Link to post Share on other sites
quinner 0 Posted October 22, 2007 y eah I know that but is it possible to write it in secound instead of millisecoundsWhy not try adding $Delay + 999 ? Share this post Link to post Share on other sites
weaponx 16 Posted October 22, 2007 Why not MULTIPLY the number of seconds times 1000 ;Sleep 3 seconds Sleep(3*1000) Share this post Link to post Share on other sites