philo Posted February 6, 2007 Posted February 6, 2007 (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:4568971238799HotKeySet("{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 February 6, 2007 by philo Auto It Ruels
xcal Posted February 6, 2007 Posted February 6, 2007 Do InputBox('', '') Until @error How To Ask Questions The Smart Way
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now