Sign in to follow this  
Followers 0
cbk1994

Auto Button

25 posts in this topic

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

Share this post


Link to post
Share on other sites



i wonder :D how many people could help with this?

for $a = 1 to 50
send("d")
next

this will cause autoit to send the letter d, 50 times.


 

Spoiler

shoot_zpsfd329d66.png
dontbelieveeverythingyouthink_zps0e1e900

Madness is the first step to understanding...

Share this post


Link to post
Share on other sites

I want it to repeat forever.

Share this post


Link to post
Share on other sites

OK I got it. Can you make it so it also make the computer think that I am pushing the left arrow key? >>>>

Share this post


Link to post
Share on other sites

Wrong forum and didn't even look at the help file, I sometimes wonder why we bother trying...

Share this post


Link to post
Share on other sites

Huh?

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

What's it called?

Share this post


Link to post
Share on other sites
:D

Share this post


Link to post
Share on other sites

goto start menu look for autoit, and click on it to bring out the side menu and look for an icon that looks like a white piece of paper with a question mark and the name of it is autoit help


 

Spoiler

shoot_zpsfd329d66.png
dontbelieveeverythingyouthink_zps0e1e900

Madness is the first step to understanding...

Share this post


Link to post
Share on other sites

I tried that but I just can't get the SEND command.

Share this post


Link to post
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...

Share this post


Link to post
Share on other sites

$send = 0

while

$send = 0

send("d")

Wend

i think that should work


Share this post


Link to post
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...

Share this post


Link to post
Share on other sites

Thanks

Share this post


Link to post
Share on other sites

no work.

Share this post


Link to post
Share on other sites

send {DOWN down};

Whats wrong with that?

Share this post


Link to post
Share on other sites

ok, Thanks.

Share this post


Link to post
Share on other sites

#20 ·  Posted (edited)

Still no work = /

Edited by cbk1994

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