Application icon

Test Key State

This function is used to modify the action test state based on a selected modifier key being pressed or not pressed.

The action test state is set as follows:

Set
The test state will be set to the result.
And
If the result is false, the action test state will be set to false, otherwise it will not be modified.
Or
If the result is true, the action test state will be set to true, otherwise it will not be modified.

eg. Test if the Command key is pressed and the Shift key is not pressed: