Jump to content

Auto Button


cbk1994
 Share

Recommended Posts

Hi,

I have windows XP Pro and I was woundering if someone could give me the script to a thing that will make my computer think that I keep pressing a button (D, but would help if I can change the key :D .)

Thank You,

Chris Y. Settler

Link to comment
Share on other sites

This isn't the support forum first. It's for posting scripts and programs and such that might be useful to others. Support requests go in the V3 Support forum.

Second, there is a wonderful help file that came with the AutoIt installation that answers your questions.

Link to comment
Share on other sites

Click on the Index tab on the left side and then type in send. Press Enter and viola! If you know the name of the command, then the Index is a good place to look. Under the Contents tab, look in Function Reference - Keyboard Control - Send.

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

You are going to want a way out of the routine.

HotKeySet("+^{F9}", Terminate)

While 1 ;Need a value here.
    Send("{Left}")
    Sleep(100) ; Wait 1/10 of a second
WEnd

Func Terminate()
    Exit
EndFunc

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