Matthy Posted November 16, 2007 Share Posted November 16, 2007 (edited) 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 November 16, 2007 by Matthy Link to comment Share on other sites More sharing options...
DW1 Posted November 16, 2007 Share Posted November 16, 2007 HotKeySet("j", "System_on1") func System_on1 () HotKeySet("j") Send("j") Send("k") Send("l") HotKeySet("j", "System_on1") EndFunc AutoIt3 Online Help Link to comment Share on other sites More sharing options...
Matthy Posted November 16, 2007 Author Share Posted November 16, 2007 you are my messiah 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