economan101 Posted March 14, 2009 Posted March 14, 2009 I am trying to make a simple script which involves pressing keyboard button 1 looping every 5 sec, keyboard button 2 looping every 10 sec, and keyboard button 3 looping every 15 sec. Thank you in advance if anyone can help me.
AlmarM Posted March 14, 2009 Posted March 14, 2009 Search for:Send()While / WEndAdlibEnable / AdlibDisableAlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.
economan101 Posted March 14, 2009 Author Posted March 14, 2009 I am sorry that I am completely new to thsi. Could you post and example so I can see what it looks like with a 5, 10, 15, second looping between each send?
AlmarM Posted March 14, 2009 Posted March 14, 2009 Try something like this, mayby this could help you. While 1 Sleep(5000) Send("{1}") Sleep(5000) Send("{1}") Send("{2}") Sleep(5000) Send("{1}") Send("{2}") Send("{3}") WEnd AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.
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