Info Posted July 30, 2007 Author Share Posted July 30, 2007 Promise you don't laugh? MapleStory XD Link to comment Share on other sites More sharing options...
DW1 Posted July 30, 2007 Share Posted July 30, 2007 I will laugh if we keep suggesting things that you ignore AutoIt3 Online Help Link to comment Share on other sites More sharing options...
Info Posted July 30, 2007 Author Share Posted July 30, 2007 So... is there a way to Bypass it? >.< Link to comment Share on other sites More sharing options...
Info Posted July 30, 2007 Author Share Posted July 30, 2007 I will laugh if we keep suggesting things that you ignoreBut there's an other program called MzBot, and it's working without VMWare... Link to comment Share on other sites More sharing options...
DW1 Posted July 30, 2007 Share Posted July 30, 2007 are you winactivating the window before sending keys or clicking/moving mouse? AutoIt3 Online Help Link to comment Share on other sites More sharing options...
Info Posted July 30, 2007 Author Share Posted July 30, 2007 (edited) Here's the script: #include <GuiConstants.au3> GuiCreate("MapleStory", 210, 71,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS)) $Button_1 = GuiCtrlCreateButton("Win Activate + Send ( {Enter})", 10, 10, 190, 50) GuiSetState() While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $Button_1 WinActivate ( "MapleStory, "") Send ( "{Enter}") EndSelect WEnd Exit It's only activating MapleStory, but not sending "{Enter}"... Edited July 30, 2007 by Info Link to comment Share on other sites More sharing options...
DW1 Posted July 30, 2007 Share Posted July 30, 2007 (edited) its sending enter for me EDIT: as long as I change WinActivate ( "MapleStory, "") to WinActivate ( "MapleStory") Edited July 30, 2007 by danwilli AutoIt3 Online Help Link to comment Share on other sites More sharing options...
DW1 Posted July 30, 2007 Share Posted July 30, 2007 that does not reproduce the problem... please post the script that is creating the issue AutoIt3 Online Help Link to comment Share on other sites More sharing options...
James Posted July 30, 2007 Share Posted July 30, 2007 Is that everything you have done? Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
PsaltyDS Posted July 30, 2007 Share Posted July 30, 2007 WinActivate() just sends a message to Windows and returns. It doesn't wait for the window to actually become active, before going on to the next line in the script. So you might want a WinWaitActive() after the WinActivate() to keep the script from doing Send() before the window is really ready. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Info Posted August 1, 2007 Author Share Posted August 1, 2007 (edited) You mean like this: #include <GuiConstants.au3> GuiCreate("MapleStory", 210, 71,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS)) $Button_1 = GuiCtrlCreateButton("Win Activate + Send ( {Enter})", 10, 10, 190, 50) GuiSetState() While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $Button_1 WinActivate ( "MapleStory") WinWaitActive ( "MapleStory") Send ( "{Enter}") EndSelect WEnd Exit Like this? Edited August 1, 2007 by Info Link to comment Share on other sites More sharing options...
qazwsx Posted August 2, 2007 Share Posted August 2, 2007 yeh like that. Link to comment Share on other sites More sharing options...
Info Posted August 2, 2007 Author Share Posted August 2, 2007 So let me tell you that it's not working -.- Link to comment Share on other sites More sharing options...
Info Posted August 4, 2007 Author Share Posted August 4, 2007 Up. Help me please... 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