Matthy Posted November 16, 2007 Share Posted November 16, 2007 hi, i im really buzzie with a program for a game to combine several letters with a ohter letter so it has quicker effect and i dont have to press al other things like when i press 'j' it also presses 'j' and 'l' after it (am already helped with that problem thx) but now it was wondering if this was possible you can combine a udf with a hotkey like this HotKeySet("j", "loadkeys_j") func loadkeys_j() $var = "j" HotKeySet($var) Send($var) Send('k') Send('l') HotKeySet($var, "loadkeys_" & $var) EndFuncoÝ÷ ٻȦ,¹^¶nµ««Ú®&è§Ø§j-ì¥G¢Z+ QtÓM,¥©ì·)^ any ideas or isnt it possible because if it is i would save me some 500 lines Cheers Matthy Link to comment Share on other sites More sharing options...
DW1 Posted November 16, 2007 Share Posted November 16, 2007 something like this? HotKeySet("j", "loadkeys_j") Func loadkeys_j() $var = @HotKeyPressed HotKeySet($var) Send($var) Send('k') Send('l') HotKeySet($var, "loadkeys_" & $var) EndFunc ;==>loadkeys_j AutoIt3 Online Help Link to comment Share on other sites More sharing options...
Matthy Posted November 16, 2007 Author Share Posted November 16, 2007 i think it will work i will try if it works i am gonna really thank you thx already matthy Link to comment Share on other sites More sharing options...
Matthy Posted November 16, 2007 Author Share Posted November 16, 2007 it works thx :D:D::D:D:D 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