RandomGuest Posted July 23, 2007 Share 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 Link to comment Share on other sites More sharing options...
Monamo Posted July 23, 2007 Share 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] Link to comment Share on other sites More sharing options...
RandomGuest Posted July 23, 2007 Author Share 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 . Link to comment Share on other sites More sharing options...
ksmith247 Posted July 23, 2007 Share 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] Link to comment Share on other sites More sharing options...
Monamo Posted July 23, 2007 Share 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] Link to comment Share on other sites More sharing options...
RandomGuest Posted July 23, 2007 Author Share 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! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now