Sign in to follow this  
Followers 0
GeneZ

solved

7 posts in this topic

#1 ·  Posted (edited)

xxx

Edited by GeneZ

Share this post


Link to post
Share on other sites



^ is CONTROL, ! is ALT

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

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¹ ÅÕ½ÐííÙôÅÕ½Ðì¤)]¥¹Ñ¥ÙÑ ÀÌØíÑ¥Ù]¥¹½Ü¤

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

#5 ·  Posted (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 by SuneC

Share this post


Link to post
Share on other sites

And the original post is xxx.

Woow! SuneC you have some imagination!

You should be writing novels or something like that.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

Ppl who erase their tracks after getting help should be banhammered !!!

Posted Image

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0