Jump to content
Sign in to follow this  

New to AutoIt

Recommended Posts

Hello. I'm new to AutoIt and have an idea on a very simple script I would like to make for playing a game. I would like to make a marco that would just type something into the main chat window upon me hitting buttons 1-9 on the numpad.

However I have no idea on where to start, I've been messing with AutoIt for a few hours now and not getting anything working at all.

Any assistance with a basic script would be great that I could then modify as I learn to use AutoIt to make it a nicer smoother program.

Here is what I would like it to do:

  • Be consistantly paused in the background, until I manually close autoit in the tray.
  • Upon hitting buttons 1-9 on the numpad it would send("{ENTER}my message of choice.{ENTER}").

That is all I would like help learning to create. If I only had that I could live with it and then learn to add additional bells and whistles as I learn AutoIt.

Any help is greatly appreciated.

Share this post

Link to post
Share on other sites

while 1
if _Ispressed("60") then
send("my first message")
else if _Ispressed("61") then
send("my second message")

[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...