Jammer Posted May 13, 2005 Posted May 13, 2005 Is it possible to send key presses to a window witch is not active? The window is opengl or directx... I wan't to make a World of Warcraft bot with which you could control a server while playing a gamemaster account...We would host the controling program on one server but the server has to have some other windows active so I can't run warcraft as the active one... So is there a way to send keypresses not to active windows if the windows use OpenGl or DirectX?
quick_sliver007 Posted May 13, 2005 Posted May 13, 2005 Is it possible to send key presses to a window witch is not active? The window is opengl or directx...I wan't to make a World of Warcraft bot with which you could control a server while playing a gamemaster account...We would host the controling program on one server but the server has to have some other windows active so I can't run warcraft as the active one...So is there a way to send keypresses not to active windows if the windows use OpenGl or DirectX?<{POST_SNAPBACK}>Try controlsend .
Jammer Posted May 13, 2005 Author Posted May 13, 2005 (edited) DirectX:>>>>>>>>>>>> Window Details <<<<<<<<<<<<< Title: World of Warcraft Class: GxWindowClassD3d Size: X: 0 Y: 0 W: 808 H: 627 >>>>>>>>>>> Mouse Details <<<<<<<<<<< Screen: X: 188 Y: 413 Cursor ID: 0 >>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<< RGB: Hex: 0x51311D Dec: 5320989 >>>>>>>>>>> Control Under Mouse <<<<<<<<<<< Size: Control ID: ClassNameNN: Text: >>>>>>>>>>> Status Bar Text <<<<<<<<<<< >>>>>>>>>>> Visible Window Text <<<<<<<<<<< >>>>>>>>>>> Hidden Window Text <<<<<<<<<<< OpenGL:>>>>>>>>>>>> Window Details <<<<<<<<<<<<< Title: World of Warcraft Class: GxWindowClassOpenGl Size: X: 0 Y: 0 W: 808 H: 627 >>>>>>>>>>> Mouse Details <<<<<<<<<<< Screen: X: 278 Y: 282 Cursor ID: 0 >>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<< RGB: Hex: 0x50544E Dec: 5264462 >>>>>>>>>>> Control Under Mouse <<<<<<<<<<< Size: Control ID: ClassNameNN: Text: >>>>>>>>>>> Status Bar Text <<<<<<<<<<< >>>>>>>>>>> Visible Window Text <<<<<<<<<<< >>>>>>>>>>> Hidden Window Text <<<<<<<<<<< could u make me an example line of this? cuz there is no control id ;/ i guess that it should look like this... ControlSend("World Of Warcraft", "", "", "the text") right? Edited May 13, 2005 by Jammer
MSLx Fanboy Posted May 13, 2005 Posted May 13, 2005 ControlSend("title", "text", controlID, "string" [,flag]) Suggestion: ControlSend("World of Warcraft", "", "", "SomeStringHere") Hopefully it should still work with/out a control ID Writing AutoIt scripts since _DateAdd("d", -2, _NowCalcDate())
Jammer Posted May 13, 2005 Author Posted May 13, 2005 it didin't work the first time but it works now... dunno why.. maby the title is CaSeSenSeTive
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