Jump to content

Could anyone Help me?


Roy2010
 Share

Recommended Posts

ok i am new to all of this and was wondering if anyone could help me with a little problem i am having

MsgBox(1, "test", "test", 10)

MouseClick( "left", 550,207, 1, 25)

MouseClick( "left", 600,560, 1, 25)

MouseClick( "left", 190,581, 1, 50)

MouseClick( "left", 570,450, 1, 25)

i want to loop the last 4 commands, but i want to be able to press a button to stop it if needed, does anyone know how to do this, i would be ever so gratefull

Thanks

Link to comment
Share on other sites

  • Developers

ok i am new to all of this and was wondering if anyone could help me with a little problem i am having

MsgBox(1, "test", "test", 10)

MouseClick( "left", 550,207, 1, 25)

MouseClick( "left", 600,560, 1, 25)

MouseClick( "left", 190,581, 1, 50)

MouseClick( "left", 570,450, 1, 25)

i want to loop the last 4 commands, but i want to be able to press a button to stop it if needed, does anyone know how to do this, i would be ever so gratefull

Thanks

What did the helpfile tell you when you looked for "loop" ?

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

Link to comment
Share on other sites

HotKeySet("{ESC}","_QuitKey")
IF MsgBox(65, @SCRIPTNAME, "Press ok to proceed", 10) = 1 THEN
 WHILE 1
    MouseClick( "left", 550,207, 1, 25)
    MouseClick( "left", 600,560, 1, 25)
    MouseClick( "left", 190,581, 1, 50)
    MouseClick( "left", 570,450, 1, 25)
 WEND
ENDIF
EXIT
;
FUNC _QuitKey()
 MsgBox(48,@SCRIPTNAME,"Terminated by user",5)
 EXIT
ENDFUNC

Something like this.

wtfpl-badge-1.png

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