horne Posted May 11, 2009 Share Posted May 11, 2009 $a1 = InputBox("1-10", "cifra", "1-10", "", _ -1, -1, 0, 0) $b1 = InputBox("a-z", "keys", "a-z", "", _ -1, -1, 0, 0) HotKeySet ( $b1 , "Mysend" ) Func Mysend() send ("{NUMPAD$a1}") EndFunc While 1 Sleep(100) WEnd send ("{NUMPAD$a1}") - not working print N Help Link to comment Share on other sites More sharing options...
LurchMan Posted May 11, 2009 Share Posted May 11, 2009 $a1 = InputBox("1-10", "cifra", "1-10", "", _ -1, -1, 0, 0) $b1 = InputBox("a-z", "keys", "a-z", "", _ -1, -1, 0, 0) HotKeySet ( $b1 , "Mysend" ) Func Mysend() send ("{NUMPAD$a1}") EndFunc While 1 Sleep(100) WEnd send ("{NUMPAD$a1}") - not working print N Help you need to have it like this: send ("{NUMPAD & $a1}") You always need the '&' when you join 2 strings, variables, ect... Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end. Link to comment Share on other sites More sharing options...
Authenticity Posted May 11, 2009 Share Posted May 11, 2009 Almost, ;] $a1 = '1' send ("{NUMPAD" & $a1 & "}") Link to comment Share on other sites More sharing options...
LurchMan Posted May 11, 2009 Share Posted May 11, 2009 Almost, ;] $a1 = '1' send ("{NUMPAD" & $a1 & "}") eh close enough lol....thats what i get for typing fast and not paying attention huh? Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end. Link to comment Share on other sites More sharing options...
horne Posted May 11, 2009 Author Share Posted May 11, 2009 Thank you fellas . Peace 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