Jump to content

Newbie needs help building a simple script.


Recommended Posts

I need some help making a program in autoIT. I downloaded v3 and looked at the samples but none of them helped me much. I need a program to essentially hit the "tab" key a random number of times (between 1-5) and then press the "space" bar to fill one of the 5 checkboxes. After this, I want it to tab the remainder of the boxes (so 5-originalRandomNumber) and then insert a comment randomly taken from a bank of comments into a textbox.

Anyone that can help will be greatly appreciated you can email me some pointers or your IM name at simontalent(at)aol.com

Link to comment
Share on other sites

I need some help making a program in autoIT.  I downloaded v3 and looked at the samples but none of them helped me much.  I need a program to essentially hit the "tab" key a random number of times (between 1-5) and then press the "space" bar to fill one of the 5 checkboxes.  After this, I want it to tab the remainder of the boxes (so 5-originalRandomNumber) and then insert a comment randomly taken from a bank of comments into a textbox.

Anyone that can help will be greatly appreciated you can email me some pointers or your IM name at simontalent(at)aol.com

look up send or sendkey in the help file. Then look up special characters

Rick

Link to comment
Share on other sites

You may also want to look at ControlSend. Sending a {NUMPADADD} to a check box turns it on. Use an array that contains the names of the checkboxes and an array with your random statements. Review the help file for more information on these topics.

Edited by Nutster

David Nuttall
Nuttall Computer Consulting

An Aquarius born during the Age of Aquarius

AutoIt allows me to re-invent the wheel so much faster.

I'm off to write a wizard, a wonderful wizard of odd...

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...