Sign in to follow this  
Followers 0
sillytiger

sorry i also need to know the proper way to loop

3 posts in this topic

i read the instructions, but it still isnt isnt working...

; ----------------------------------------------------------------------------

;

; AutoIt Version: 3.1.0

; Author: A.N.Other <myemail@nowhere.com>

;

; Script Function:

; Template AutoIt script.

;

; ----------------------------------------------------------------------------

; Script Start

; Script Start

Sleep(5000)

MouseClick("left", 1264, 637)

MouseClick("left", 1264, 637)

MouseClick("left", 1264, 637)

MouseClick("left", 1264, 637)

MouseClick("left", 1264, 637)

MouseClick("left", 1264, 637)

MouseClick("left", 1264, 637)

MouseClick("left", 1264, 637)

MouseClick("left", 1264, 637)

MouseClick("left", 1264, 637)

MouseClick("left", 1264, 637)

MouseClick("left", 1264, 637)

MouseClick("left", 1264, 637)

MouseClick("left", 1264, 637)

MouseClick("left", 1264, 637)

MouseClick("left", 1051, 488)

Sleep(1000)

MouseClick("left", 1170, 452)

MouseClick("left", 1170, 452)

MouseClick("left", 1170, 452)

MouseClick("left", 1170, 452)

MouseClick("left", 1170, 452)

MouseClick("left", 1170, 452)

MouseClick("left", 1170, 452)

MouseClick("left", 1170, 452)

MouseClick("left", 1170, 452)

MouseClick("left", 1170, 452)

MouseClick("left", 1170, 452)

MouseClick("left", 503, 100)

MouseClick("left", 503, 100)

Send ("bump")

MouseClick("left", 1267, 655)

MouseClick("left", 1267, 655)

MouseClick("left", 1267, 655)

MouseClick("left", 602, 214)

for (continueloop for [100])

Share this post


Link to post
Share on other sites



i tried

continueloop

continueloop (100)

continueloop [100]

whats wrong??

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Slow down, buddy -- you've been making up to two posts per minute for the last twenty minutes!

This code uses a For..Next loop to display a message box 5 times:

For $I = 1 To 5
    MsgBox(0, '', 'This is MsgBox() no. ' & $I & '.')
Next

For most applications you don't need ContinueLoop.

P.S. Please re-read the documentation for MouseClick() -- you will find that you can do 15 clicks in one spot with only one line of code.

Edited by LxP

Share this post


Link to post
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
Sign in to follow this  
Followers 0