RandomGuest 0 Posted July 23, 2007 (edited) Hello, Im kinda new to this program and I wonder; How can I make AutoIt push a button on the keyboard, like A or 1, or one of the arrow buttons? Thank you! . Edited July 23, 2007 by RandomGuest Share this post Link to post Share on other sites
Monamo 4 Posted July 23, 2007 Lookup Send() in the help file. - MoChr(77)& Chr(97)& Chr(100)& Chr(101)& Chr(32)& Chr(121)& Chr(97)& Chr(32)& Chr(108)& Chr(111)& Chr(111)& Chr(107)-------I've told you 100,000 times not to exaggerate!-------Don't make me hit you with my cigarette hand...-------My scripts:Random Episode Selector, Keyboard MouseMover, CopyPath v2.1, SmartRename for XP,Window Tracer[sup]New![/sup] Share this post Link to post Share on other sites
RandomGuest 0 Posted July 23, 2007 Lookup Send() in the help file.Sorry for (maybe) being stupid But the Send.au3 file didnt help me at all... O.o . It didnt even push any button or anything.Tell me what I did wrong xD . Share this post Link to post Share on other sites
ksmith247 0 Posted July 23, 2007 Sorry for (maybe) being stupid But the Send.au3 file didnt help me at all... O.o . It didnt even push any button or anything.Tell me what I did wrong xD .What are you looking to accomplish? Send() will send a keystroke to an application or to Windows like Send("#r") which is the equivalent of Windows Key + R. Support bacteria; it's the only culture most people have.LxP's Learning to Script with AutoIt 3 - Excellent starting placeVolly's Links Page - Links to cool and useful scriptsAutoIt Wrappers - Valuater's AutoIt Wrappers post. Lots of good stuff.Support AutoIt - Make a donation here; I did.[size="2"]#include <Guinness.pint>[/size] Share this post Link to post Share on other sites
Monamo 4 Posted July 23, 2007 Sorry for (maybe) being stupid But the Send.au3 file didnt help me at all... O.o . It didnt even push any button or anything.Tell me what I did wrong xD .Not Send.au3 - In the help file for AutoIt (AutoIt3.chm), lookup the "Send" command.. - MoChr(77)& Chr(97)& Chr(100)& Chr(101)& Chr(32)& Chr(121)& Chr(97)& Chr(32)& Chr(108)& Chr(111)& Chr(111)& Chr(107)-------I've told you 100,000 times not to exaggerate!-------Don't make me hit you with my cigarette hand...-------My scripts:Random Episode Selector, Keyboard MouseMover, CopyPath v2.1, SmartRename for XP,Window Tracer[sup]New![/sup] Share this post Link to post Share on other sites
RandomGuest 0 Posted July 23, 2007 Not Send.au3 - In the help file for AutoIt (AutoIt3.chm), lookup the "Send" command..Ah, thank you so much man! Share this post Link to post Share on other sites