Sign in to follow this  
Followers 0
BlackThick

Game tool

10 posts in this topic

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

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

U want the key to send to the window that minizined?

Edited by RunningBot

Share this post


Link to post
Share on other sites

Yes !

I don´t understand "ControlSend" >.<

Where must I write down the Key which should be pressed ?

Share this post


Link to post
Share on other sites

First of all you need it to send it to that window whats the window name in the process ? and what key do u want to keep sending?

Share this post


Link to post
Share on other sites

I Want to send the key "1" to the that window. The name of it is: "SRO_Client [bullXeNiA]"

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

this should work

While 1
$hWin = WinGetHandle("SRO_Client")
ControlSend($hWin, "", "" ,"1")
WEnd

i think that should of i hope if it does not then it because of 25 hours of none sleep

Edited by RunningBot

Share this post


Link to post
Share on other sites

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 ?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

It works !!! Thx very much man >_<

I <3 u >.< ^^

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0