Jump to content

Recommended Posts

Guest Heathen
Posted

ok i have looked around and looked in the help and i still can't get my script to work properly.

What i want my script to do is move over 3 different parts of the screen and double click on each 3 areas. now that i can do.

my problem is making an infinite loop, and assigning a key (like F12) to terminate the script.

heres what i have working :huh2:

MouseClick ( "left" , 278, 305, 2)
    sleep(750)
    MouseClick ( "left" , 315, 308, 2)
    sleep(750)
    MouseClick ( "left" , 366, 307, 2)
    sleep(1000)

Thank you for anyprompt help you can give me. this is extremly hard for me, and i appriciate any help from you guru's :D

  • Developers
Posted

try this version.... F12 won't work according the helpfile so used F11...

HotKeySet("{F11}","Fin")

While 1
   MouseClick ( "left" , 278, 305, 2)
   sleep(750)
   MouseClick ( "left" , 315, 308, 2)
   sleep(750)
   MouseClick ( "left" , 366, 307, 2)
   sleep(1000)
Wend
Func fin()
   Exit
EndFunc

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Guest Heathen
Posted

Wow thank you so much :D

You're my hero

Posted

Why is it this particular topic title/question sounds almost identical coming from every single person asking it? :D

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