Sign in to follow this  
Followers 0
weasel127

Hotkeys Help

5 posts in this topic

#1 ·  Posted (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 by weasel127

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by Helge

Share this post


Link to post
Share on other sites

Oh, it works. Just wondering, but why do you need to press Shift?

Share this post


Link to post
Share on other sites

By using "a" you don't have to, but when you use "A" you do. Case-sensitive..

Just use "a" instead.

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0