Sign in to follow this  
Followers 0
Xquilet

Halt key send to application

2 posts in this topic

hi im just wondering, if it is possible that i halt key send to application so instead i send it to application it halt the key send process and use autoit to send it instead ?

Share this post


Link to post
Share on other sites



sorry for double posting: i can't edit my script

hie greetings,

is it possible that i halt the keyboard x key from being send direct to the application using the func "xxx"

as my key X has already being bind to the application where by using x to send skill

Example

x = skill 1

e = skill 2

c = skill 3

so now i want to do a combo skill, so when i press x

it will first send x follow e and c

here is part of my script:

Func xxx()

If _IsPressed("58", $dll) Then

ControlSend($WinTitle,'','','{x}')

ControlSend($WinTitle,'','','{e}')

ControlSend($WinTitle,'','','{c}')

EndIf

EndFunc

While 1

;Sleep(100)

;WinWaitActive($WinTitle)

If WinActive($WinTitle) Then

dshiftx()

xxx()

Else

;TogglePause()

EndIf

WEnd

like when autoit detect x key pressed it halt key send and autoit send it instead ?

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