Xquilet Posted September 28, 2009 Share Posted September 28, 2009 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 ? Link to comment Share on other sites More sharing options...
Xquilet Posted September 28, 2009 Author Share Posted September 28, 2009 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now