3 replies [Last post]
BlueGriffon
BlueGriffon's picture
User offline. Last seen 1 year 22 weeks ago. Offline
Joined: 09/13/2009
Posts: 68

Do you guys have a list somewhere of all the valid keybinding syntax values for all the keys that could be pressed?

For example, the keybinding for the space bar, is it {Space} in the wizard?
What about the Esc key? or the Enter key? or the num pad keys?

It's easy to "manually" set the keybindings in GCP after the wizard has created some commands, but I'd like for them all to be created, if possible, directly within the wizard.

I've been somewhat "out of wow" for a while (real-life stuff has kept me too busy!). But I should be getting back involved, again :) I've missed it!

Thanks much!

~BlueGriffon

Phil
Phil's picture
User offline. Last seen 2 weeks 4 days ago. Offline
Joined: 06/30/2009
Posts: 571
I just added this information to the Wiki

Hi

Glad to have you back.

Here's a link to the new page:

http://www.gamecommanderpro.com/gcpwiki/index.php?title=GCP_Key_Codes

Please let me know it that's not what you where looking for.

Thanks
Phil

__________________

Designer Of GameCommanderPro - www.GameCommanderPro.com
Designer Of KeyBlaster - www.keyblaster.com

BlueGriffon
BlueGriffon's picture
User offline. Last seen 1 year 22 weeks ago. Offline
Joined: 09/13/2009
Posts: 68
Exactly what I was looking for... but have new questions!

Phil,

Thanks so much. That's exactly the type of thing I was looking for.

Some of the info that's on the Wiki is a little confusing to me, though. Could you clarify?

Special Keys:

• Hit +^{ABCDEF} is a way to send a group of keys with modifiers

Does this mean that "shift-control-A" is sent, then "shift-control-B", etc? Or, another way to put it, that the "shift" and "control" are both being held down the entire time that A, then B, then C, etc. are pressed?

• Hit +^{ABCDEF} is a way to send a group of keys with modifiers

How does GCP know that the stuff inside the brackets is a "group of keys" or a special name for a single key? For example, what if I wanted to send a group of modified keys that happened to be "F" and then "2"? How does GCP know that +{F2} means "shift-functionkey2" or "shift-F" followed by "shift-2"?

•	Hit {F1010} sends function key 10 repeated 10 times 
o	note the number must start from position 4 onwards - i.e. the code expects a 2 character key code 
o	{ABC5} would work (it would repeat "abc" 5 times 
o	{A5} would not - it would send "a" then "5"

I'm a bit confused on the repeat syntax. With the examples of {F10xx} and {ABCx} where the xx is the repeat value, I understand the repeat value starts at the fourth position inside the bracket. However, I'm not sure how you "pad" something to get to the 4th position. For example, what is the syntax to send "A" five times? {A5} doesn't work because the 5 is in the second position. I'm assuming that if I did {A005} that "A00" would be sent five times. So that won't work. Or even {A 5} where there are two spaces between the A and 5... won't that simply send "A " five times?

Thanks much!

~BlueGriffon

Phil
Phil's picture
User offline. Last seen 2 weeks 4 days ago. Offline
Joined: 06/30/2009
Posts: 571
Hi

In the first case, it is, as you suspect, a way to "hold" the modifiers down as you use the sequence.

In the second case, GCP knows that {ABCDEF} is a group of characters because none of them are numeric. You could not send {12345} (that would result in 45 repetitions of "123" !)

Special codes must appear after the "{" i.e. {F10}{F12} is ok, but {F10F12} is not.

As for the number of repeats, this is a restriction on the way the code is written, you can't really pad to achieve what you are asking about.

However...

Hit {aaa2} would cause 6 repeats. Hit {aaa2}a would cause 7 Hit aaa would cause 3 repeats, and is shorter than {a3} anyway!

Phil

__________________

Designer Of GameCommanderPro - www.GameCommanderPro.com
Designer Of KeyBlaster - www.keyblaster.com