Jump to content

Halt key send to application


Xquilet
 Share

Recommended Posts

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 ?

Link to comment
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
 Share

  • Recently Browsing   0 members

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