SwordElf Posted July 28, 2010 Share Posted July 28, 2010 I'm a chinese, and my English is cool. I get a flash rpg webgame,and how can i send the Keyboard and Mouse click to the flash? My Code is: _IEErrorHandlerRegister() Opt("GUIOnEventMode", 1) $oIE = _IECreateEmbedded() $frmMain = GUICreate("My AutoIt", 1024, 712, _ (@DesktopWidth - 1024) / 2, 0, _ $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_MAXIMIZE + $WS_CLIPSIBLINGS + $WS_CLIPCHILDREN); $GUIActiveX = GUICtrlCreateObj($oIE, 0, 80, 1024, 618) First I use: ControlSend($frmMain, "", $GUIActiveX, "{ASC 49}") But false, then I use: ControlSend("[CLASS:AutoIt v3 GUI; INSTANCE:0]", "", "[CLASS:Internet Explorer_Server; INSTANCE:1]", "{ASC 49}") The flashgame is also no any active. How can i send the Keyboard and Mouse click to the flash? Link to comment Share on other sites More sharing options...
rvn Posted July 28, 2010 Share Posted July 28, 2010 (edited) read this bout bot,,, http://www.autoitscript.com/forum/index.php?showannouncement=11&f=2 Edited July 28, 2010 by rvn 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