Jump to content

Recommended Posts

Posted

Hey all =) First of all i need to say that i´m nearly totally new to AutoIt >.<

So i have a question...

I want send key "1" to a hided window (to a game) to use one skill all the time.

All i´ve got for now is that:

While 1

Sleep(2) ;nice to CPU

;start this loop if ON Is

; True

While $ON = True

Sleep(2) ; delay

send ("{1}")

WEnd

WEnd

But then it just works when the window is open >_<

Can anyone help me with that ?

Thx to all ..

greetings BlackThick

Posted

Still doesn´t work >_<

$hWin = WinGetHandle("SRO_Client")

Must that be the name of it in "Process" @ Taskmanager or the name of it in "Uses" @ Taskmanager ?

Posted

well we could do controlclick find the coronate of were the skill is and spam right click while for tht windo try it

While 1
$hWin = WinGetHandle("SRO_Client")
ControlClick($hWin, "", "", "Right", 1, 510, 670)
WEnd


Ok find the coronate of the X , Y axies with the Autoit Window Info and change 510= x 670= y

and that should do it sometime keystrokes are block by gamegaurd

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...