Velocity powered by Wavelink

This page refers to an older version of the product.
View the current version of the User Guide.

OnAllKeys, OnKey, OnKey0x

The OnKey and OnKey0x META tags describe an action that will occur if a particular key is pressed. The key values evaluated are the same key values used by the Velocity Console. The OnKey0x format requires a unicode value and the OnKey format requires a decimal format. The key value is case sensitive.

For example:

OnKey50 and OnKey0x32 respond when the user presses 2.

OnKey65 and OnKey97 respond to both the upper and lowercase A.

The OnAllKeys tag will perform the specified action each time any key is pressed. The action type can include one argument, which is the string representing the decimal value of the key.


This page refers to an older version of the product.
View the current version of the User Guide.

The topic was:

Inaccurate

Incomplete

Not what I expected

Other