Jump to content

Automating Keystrokes only when a a certain value is found.


Korv
 Share

Recommended Posts

Ok, i'm pretty new to AutoIt, used it a bit before but i didnt create many scripts.

This is on a program:

What im trying to do is automate a Keystroke (Alt + T) until a certain variable reaches 0, once it does i want it to automate Alt + T again, then automate Alt + R until another variable's value reaches 100, then it automates Alt + R again, and goes to Alt + T, which then repeats.

Understand? I've tried searching.. But i cant find anything on it. Can anyone help me out on this?

Link to comment
Share on other sites

Ok, i'm pretty new to AutoIt, used it a bit before but i didnt create many scripts.

This is on a program:

What im trying to do is automate a Keystroke (Alt + T) until a certain variable reaches 0, once it does i want it to automate Alt + T again, then automate Alt + R until another variable's value reaches 100, then it automates Alt + R again, and goes to Alt + T, which then repeats.

Understand? I've tried searching.. But i cant find anything on it. Can anyone help me out on this?

I will give you some function names to look up that you will want to look at.

  • For...Next Loop
  • Send
With the information given so far that is all I can do.

JS

AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...