Jump to content
Sign in to follow this  
Matthy

HotKeySet problem

Recommended Posts

Matthy

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

Share this post


Link to post
Share on other sites
Matthy

you are my messiah :P

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  

×