(Last Updated: May 31, 2018)

In software simulations, you often want to simulate keyboard actions that interact with the target software. Key strokes are interactive objects that help you do that. They respond when users press a key or combination of keys on their keyboard. When you record software simulations, ActivePresenter inserts key strokes automatically whenever you press a keyboard shortcut.

Adding Key Strokes

To insert a key stroke, open the Interactions tab and click Key Stroke. Alternatively, open the Home tab > Interactions  > Key Stroke.

key strokes 01

By default, a key stroke consists of three separate elements: (1) a target area, (2) a Correct message, and (3) an Incorrect message.

key strokes 02

When the interactive presentation is played, initially the key stroke displays nothing. It just waits for users to enter a shortcut (such as CTRL+SHIFT+P), and ignores any text string. If the entered shortcut matches the reference, the Correct message appears, otherwise the Incorrect message appears. For example, if the predefined value is CTRL+SHIFT+P, but a user presses CTRL+P without holding down the SHIFT key, he is doing incorrectly.

Setting Correct Values

Key strokes accept all keys or combination of keys on the keyboard except the WINDOWS key. To define a correct action, do the following:

Step 1: Select the target area element.

Step 2: Go to the Properties pane > Interactivity > General > List of Correct Values. Then, click the Add Value button (4).

key strokes 03

Step 3: Click inside the Correct Value box and press a key with or without the modifier keys to define a value.

If you don’t want a value anymore, click the Remove button (5) next to that value to remove it.

Be sure to fully test your key stroke in the published output to avoid any unexpected behavior. Don’t use keys or key combinations that are common in browsers such as CTRL+F or ALT+D.

Setting Score & Reporting

To set score and reporting for key strokes, see Question Score & Reporting.

Make the Key Stroke Work

To set up events and actions for the key stroke, access the Events – Actions section in the Properties pane.

key strokes 04

By default, key strokes have three events, including On Correct, On Incorrect, and On Timeout. You can add three other events, including On Key Press (occurs when each key or combination of keys is pressed), On Rollover, and On Rollout.

For more details, see Working with Events – Actions.

Adding and Removing Feedback Messages

Besides the Correct and Incorrect messages, you can optionally add the Timeout and Hint ones. Select the target area and click the Interactions tab > Message > choose the message you want. Of course, you can remove any unnecessary messages.

For more details, see Working with Feedback Messages.

That’s all about key strokes in ActivePresenter. Feel free to contact us if you need any help.

Pin It on Pinterest