# Problem with Key strokes

**URL:** <https://talk.atomisystems.com/t/problem-with-key-strokes/10568>\
**Category:** Support Questions\
**Created:** [October 1, 2026, 11:57am UTC](https://talk.atomisystems.com/t/problem-with-key-strokes/10568 "2026-10-01T11:57:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Koen](https://talk.atomisystems.com/user_avatar/talk.atomisystems.com/koen/32/1639_2.png) [@Koen](https://talk.atomisystems.com/u/Koen)\
**Post date:** [October 1, 2026, 11:57am UTC](https://talk.atomisystems.com/t/problem-with-key-strokes/10568/1 "2026-10-01T11:57:56Z")

</div>

Problem:

I’m trying to build an application for practising times tables. Since I want the application to run on mobile as well as PC, I’m making it for keyboard and mouse/touch.

_The application works fine, except for one thing:_  
**When the user types any letter on the keyboard, it’s being registrered as the number 2.**

Take a look at the attached approj file. Anyone any ideas?

- The numbers on the screen-keypad add the corresponding number to a variable.
- I’ve used key strokes for all the numbers, to be able to record the input from the keyboard.
- I could add keystrokes for all the letters and then add not a single action to them to prevent them from doing anything, but that seems a bit silly.

 ![Key stoke](https://talk.atomisystems.com/uploads/default/original/2X/e/ea2b961098a81d01aca8c208ee93c5bd3ef35cb5.jpeg)

[test keypad.approj](https://talk.atomisystems.com/uploads/short-url/qqdPqeqysvM12E91pnTne8QR5uL.approj) (2.0 MB)

**ActivePresenter version:**

AP 10.6.1

**OS:**

Windows 11 PRO 26H2

---

<div class="post-metadata">

**Author:** ![truongphamhp](https://talk.atomisystems.com/user_avatar/talk.atomisystems.com/truongphamhp/32/101_2.png) [@truongphamhp](https://talk.atomisystems.com/u/truongphamhp)\
**Post date:** [October 2, 2026, 3:35am UTC](https://talk.atomisystems.com/t/problem-with-key-strokes/10568/2 "2026-10-02T03:35:19Z")

</div>

Hi Koen,

The input actions in your project are attached to **On Key Press** , which can also run when the pressed key does not match the configured Key Stroke. Several actions therefore run in sequence, leaving “2” in the answer field.

We’ve attached an updated project with these actions moved to **On Correct** , so each action runs only when its configured key is pressed. Your existing scripts and mouse keypad remain unchanged.

We tested the updated project in ActivePresenter 10.6.1: letters leave the answer unchanged, while digits, numpad keys, Backspace and Delete work as expected.

[test keypad corrected.approj](https://talk.atomisystems.com/uploads/short-url/8npabiFiEHwi91WgZGacWKKd03O.approj) (2.0 MB)

---

<div class="post-metadata">

**Author:** ![Koen](https://talk.atomisystems.com/user_avatar/talk.atomisystems.com/koen/32/1639_2.png) [@Koen](https://talk.atomisystems.com/u/Koen)\
**Post date:** [October 2, 2026, 5:39am UTC](https://talk.atomisystems.com/t/problem-with-key-strokes/10568/3 "2026-10-02T05:39:11Z")

</div>

Thanks so much!

It works flawlessly!
