weasel127 Posted October 3, 2006 Share Posted October 3, 2006 (edited) I tried using HotKeySet for the normal keys A,S,D,F,G,and H but it wouldn't work. Is there another way to do this without using HotKeySet? I'm trying to make a script that will send a series of Keys after a hotkey is pressed, but I can't find a way around this. If I use the F1 - F12 keys, it will be confusing to use (since pressing the key above it will activate the key combination to use, which in this case would be to send a series of Z,X,C,V,B, and N keys). Example: HotKeySet("{A}", "ForwardAttack") I know this doesn't work, but is there a way to set a letter key onto a hotkey? Edited October 3, 2006 by weasel127 Link to comment Share on other sites More sharing options...
Helge Posted October 3, 2006 Share Posted October 3, 2006 (edited) I know this doesn't work, but is there a way to set a letter key onto a hotkey?Sure, by dropping the curly brackets, which are only used for special characters.HotKeySet("A", "ForwardAttack") Edit : note that when using uppercase letters, it's required to press Shift too. Edited October 3, 2006 by Helge Link to comment Share on other sites More sharing options...
weasel127 Posted October 3, 2006 Author Share Posted October 3, 2006 Oh, it works. Just wondering, but why do you need to press Shift? Link to comment Share on other sites More sharing options...
Helge Posted October 3, 2006 Share Posted October 3, 2006 By using "a" you don't have to, but when you use "A" you do. Case-sensitive.. Just use "a" instead. Link to comment Share on other sites More sharing options...
weasel127 Posted October 3, 2006 Author Share Posted October 3, 2006 By using "a" you don't have to, but when you use "A" you do. Case-sensitive..Just use "a" instead.Oh, didn't realize it was case sensitive. Well the script works now. Thanks for your help! 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