piccaso Posted October 21, 2004 Share Posted October 21, 2004 (edited) Try this one...Run(@ComSpec & " /c title TestTitle & " & @ComSpec);Start Console Window with the Title 'TestTitle' WinWait("TestTitle");Wait until it exists If ControlSend("TestTitle", "", "", '12345 !"§$%',0) == 1 Then;send some keys... MsgBox(0, "", "Keys sent") Else MsgBox(0, "", "No Keys sent") EndIf It should Send '12345 !"§$%' to the console window but in the console window '12345 2345' appears am i doing something wrong? Edit: It works when using send() but i need a way to send keys to a hidden window Edited October 21, 2004 by piccaso CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map Link to comment Share on other sites More sharing options...
scriptkitty Posted October 22, 2004 Share Posted October 22, 2004 (edited) try sending it raw: ControlSend("UltraEdit", "", "EditControl1", '12345 !"§$%',1) it thinks you want to send ALT+" blah blah blah. !a is ALT+A raw version !a is !a Edited October 22, 2004 by scriptkitty AutoIt3, the MACGYVER Pocket Knife for computers. 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