Sign in to follow this  
Followers 0
philo

Help with array / looping

2 posts in this topic

#1 ·  Posted (edited)

Hi,

I'm working on a bot.

But there is one thing i don't know.

At the begin of the script i want a input box.

That asks for an ID, and repeats that until cancel has been pressed.

Example input:

456

897

123

8799

HotKeySet("{END}", "StartBot2")

$value = InputBox("Enter ID", "Please insert all ID's", "")  ;Repeat this until cancel has been pressed

;After Cancel, keep running
While 1
    Sleep(10)
WEnd

;When Hotkey has been pressed, start function.
;I want this function to loop once the hotkey has been pressed once.
Func StartBot2()
MouseClick("left", 459, 67, 2)
Send($value) ;I want this to change after every loop, Example: First Loop : 456  Second Loop: 897 until all have been used
EndFunc
Edited by philo

Auto It Ruels

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