GeneZ Posted June 11, 2009 Share Posted June 11, 2009 (edited) xxx Edited June 11, 2009 by GeneZ Link to comment Share on other sites More sharing options...
somdcomputerguy Posted June 11, 2009 Share Posted June 11, 2009 ^ is CONTROL, ! is ALT - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
SuneC Posted June 11, 2009 Share Posted June 11, 2009 Using keystrokes like Alt+Tab to swap between different windows isn't really that reliable. You could also just be sending the keystroke using ControlSend, then you don't have to swap windows: ControlSend("Ragnarok Online", "", "", "{F6}")oÝ÷ Øò¢çhm}ç¥)v§ØZ¶ÚòºÈ§h§ëGjwez«¨´!Q*ºm¢¶ººÞÜ"Ú0Z)ÀrدjתºQj Ú®X§z«¨¶Ç§w*.®G²²Úèæ§vØ^h§Ëb½«^¢{az§vW«zÛ«ç[Éh§ëGjwey«¢+ØÀÌØíÑ¥Ù]¥¹½Üô]¥¹Ñ!¹± ÅÕ½Ðím Q%YtÅÕ½Ðì¤)]¥¹Ñ¥ÙÑ ÅÕ½ÐíI¹É½¬=¹±¥¹ÅÕ½Ðì¤)M¹ ÅÕ½ÐííÙôÅÕ½Ðì¤)]¥¹Ñ¥ÙÑ ÀÌØíÑ¥Ù]¥¹½Ü¤ Link to comment Share on other sites More sharing options...
SuneC Posted June 11, 2009 Share Posted June 11, 2009 umh i also click on a specific position on the ragnarok window whenever it activates. is that possible without having to switch windows too?ControlClick() will do that for you. Remember that the X and Y coordinates will be relative to the clientarea of the window though, so to find the coords using for example AutoIt Window Info Tool, look for the "ControlClick coords" instead of Mouse coords. ControlClick("Ragnarok Online", "", "", "left", 1, 250, 250) To click once with left mouse button at 250,250 in the RO window. Link to comment Share on other sites More sharing options...
SuneC Posted June 11, 2009 Share Posted June 11, 2009 (edited) AFAIK you're gonna have to do a DllCall for that. $aRet = DllCall("gdi32.dll", "int", "GetPixel", "hwnd", $hDC, "int", $x, "int", $y) $pixelColor = $aRet[0]oÝ÷ Ù: zÛax7¯Ç¢{^ÆØZÙ^Ó~¡'h¶¬jëh×6$hDC = DLLCall("user32.dll","long","GetDC","hwnd",WinGetHandle("Ragnarok Online")) $hDC = $hDC[0] Hope this helps. Remember the coordinates are still relative to the clientarea of the window. Edited June 11, 2009 by SuneC Link to comment Share on other sites More sharing options...
trancexx Posted June 12, 2009 Share Posted June 12, 2009 And the original post is xxx.Woow! SuneC you have some imagination! You should be writing novels or something like that. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Inverted Posted June 12, 2009 Share Posted June 12, 2009 Ppl who erase their tracks after getting help should be banhammered !!! Link to comment Share on other sites More sharing options...
Recommended Posts