Jump to content

Delay in secounds


ink
 Share

Recommended Posts

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
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...