Matthy Posted November 16, 2007 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
DW1 Posted November 16, 2007 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
Matthy Posted November 16, 2007 Author Posted November 16, 2007 i think it will work i will try if it works i am gonna really thank you thx already matthy
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