longxx Posted June 5, 2008 Posted June 5, 2008 hi, when I tried to use Controlsend to send text+Enter to window, ControlSend("XXX", "", "", "hello{ENTER}") I noticed ControlSend("XXX", "", "", "hello{ENTER}") sometimes can not send complete sentense, it seems like the computer presses the {ENTER} before the text string is finished, when I do ControlSend("XXX", "", "", "hello") + sleep(100) + ControlSend("XXX", "", "", "{ENTER}") it is fine always is this a AutoIt's controlsend bug problem? or my computer problem? or when we do text+ENTER it's always like this? any other get around for long text input? thanks.
enaiman Posted June 5, 2008 Posted June 5, 2008 I don't know exactly why this is happening but you could try: ControlSend("XXX", "", "", "hello"&@CRLF) maybe this will work for you. SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :)
longxx Posted June 6, 2008 Author Posted June 6, 2008 I don't know exactly why this is happening but you could try: ControlSend("XXX", "", "", "hello"&@CRLF) maybe this will work for you. can someone tell me what is @CRLF? thanks.
NELyon Posted June 6, 2008 Posted June 6, 2008 can someone tell me what is @CRLF? thanks.It stands for Carriage Return/Line Feed. Essentially it is a character representing a new line.
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