cbk1994 0 Posted April 20, 2004 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 .) Thank You, Chris Y. Settler Share this post Link to post Share on other sites
Somerset 3,041 Posted April 20, 2004 i wonder 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 Share this post Link to post Share on other sites
cbk1994 0 Posted April 20, 2004 I want it to repeat forever. Share this post Link to post Share on other sites
cbk1994 0 Posted April 20, 2004 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
Valik 478 Posted April 20, 2004 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
Valik 478 Posted April 20, 2004 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
Somerset 3,041 Posted April 20, 2004 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 Share this post Link to post Share on other sites
cbk1994 0 Posted April 21, 2004 I tried that but I just can't get the SEND command. Share this post Link to post Share on other sites
Nutster 3 Posted April 21, 2004 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 NuttallNuttall Computer ConsultingAn Aquarius born during the Age of AquariusAutoIt 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
dazzyreil 0 Posted April 21, 2004 $send = 0 while $send = 0 send("d") Wend i think that should work Share this post Link to post Share on other sites
Nutster 3 Posted April 21, 2004 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 NuttallNuttall Computer ConsultingAn Aquarius born during the Age of AquariusAutoIt 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
cbk1994 0 Posted April 22, 2004 send {DOWN down}; Whats wrong with that? Share this post Link to post Share on other sites
Jos 2,165 Posted April 22, 2004 send {DOWN down}; Whats wrong with that?it should be : send "{DOWN down}" SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Share this post Link to post Share on other sites
cbk1994 0 Posted April 23, 2004 (edited) Still no work = / Edited April 23, 2004 by cbk1994 Share this post Link to post Share on other sites