Jump to content

Recommended Posts

Posted

You forgot one vital thing. AutoIt will not just execute whats in moving() unless you tell it to.

moving ()

Func moving()
    MouseMove(123, 456, 10)
    Sleep(2000)
    MouseClick("Left")
EndFunc   ;==>moving

Cheers,

Brett

Posted

Ive just tried what you said and it still does not work.

Below is all that I have in the script and all Im trying to do is get it to click on my start button.

#cs ----------------------------------------------------------------------------

 AutoIt Version: 3.3.2.0
 Author:         myName

 Script Function:
    Template AutoIt script.

#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here

Moving()
Func Moving()
    MouseMove(50, 785, 10)
    Sleep(2000)
    MouseClick("Left")
    Sleep(70000)
EndFunc   ;==>Moving

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
×
×
  • Create New...