Guest Lerkista Posted January 27, 2005 Share Posted January 27, 2005 Why when i use: ControlSend("Program","","","{RIGHT}") don't work?? don't send anything With Send("{RIGHT}") works, but only when the window is active, and i want to send the keystrokes in the background Anyone can help me?? Thankx Link to comment Share on other sites More sharing options...
Josbe Posted January 27, 2005 Share Posted January 27, 2005 (edited) Why when i use:ControlSend("Program","","","{RIGHT}") don't work?? don't send anythingWith Send("{RIGHT}") works, but only when the window is active, and i want to send the keystrokes in the backgroundAnyone can help me??Thankx<{POST_SNAPBACK}>You need send it to some control.(at least)ControlSend ( "title", "text", controlID, "string" [, flag] )Example taken from the Helpfile:ControlSend("Untitled", "", "Edit1", "This is a line of text in the notepad window")Edit: Example added. Edited January 27, 2005 by josbe AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
Guest Lerkista Posted January 27, 2005 Share Posted January 27, 2005 Hum, i don' see any Control ID in my Program, i want to use with a game named MapleStory, i use the AU3_Spy program, and it don't show any control , just to mention, if i use another command like {SPACE} it works, but with the cursor keys don't 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