Sign in to follow this  
Followers 0
economan101

Simple Script

4 posts in this topic

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.

Share this post


Link to post
Share on other sites



Search for:

  • Send()
  • While / WEnd
  • AdlibEnable / AdlibDisable
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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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.

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