Jump to content

Why dosent this work


p00pies
 Share

Recommended Posts

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

Link to comment
Share on other sites

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
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...