Jump to content

HotKeySet problem


Matthy
 Share

Recommended Posts

hi,

i am making a script for a game where you have hotkeys like 'j' then 'k' and findaly 'l' and then it only have effect.

so i am trying by the use of hotkeyset. to send al the 3 letters in one time if you press 'j' for example

but when i am using hotkeyset function and

HotKeySet("j", "System_on1")

func System_on1 ()

Send("j")
Send("k")
Send("l")

EndFunc

but when you do Send("j") it reruns the function is there a way to solve this and u get: Recursion level has been exceeded - AutoIt will quit to prevent stack overflow.

idea anyone like hotkeystop or an other send action?

Cheers

Matthy

Edited by Matthy
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...