# Client Keystroke event script

**URL:** <https://forum.inductiveautomation.com/t/client-keystroke-event-script/2108>\
**Category:** Ignition\
**Created:** [August 9, 2010, 7:28pm UTC](https://forum.inductiveautomation.com/t/client-keystroke-event-script/2108 "2010-08-09T19:28:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlThePal](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/althepal/32/3603_2.png) [@AlThePal](https://forum.inductiveautomation.com/u/AlThePal)\
**Post date:** [August 9, 2010, 7:28pm UTC](https://forum.inductiveautomation.com/t/client-keystroke-event-script/2108/1 "2010-08-09T19:28:16Z")

</div>

I’m allowing users with certain roles to display a main menu page by pressing a key combination. I chose [Control] A (Pressed) which seemed to work well, but then I found that if the user highlights a line in a table or list the event script doesn’t fire, apparently until they display another window, at which point it works again.

I couldn’t get [Control] ‘A’ (Typed) to work at all, but [Control] A (Released) works perfectly.

Any idea what’s happening?

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [August 13, 2010, 9:03pm UTC](https://forum.inductiveautomation.com/t/client-keystroke-event-script/2108/2 "2010-08-13T21:03:33Z")

</div>

Without replicating it, it sounds like the table/list is consuming that key event. Will have to investigate further.

---

<div class="post-metadata">

**Author:** ![dep05d](https://avatars.discourse-cdn.com/v4/letter/d/e495f1/32.png) [@dep05d](https://forum.inductiveautomation.com/u/dep05d)\
**Post date:** [August 14, 2010, 12:08am UTC](https://forum.inductiveautomation.com/t/client-keystroke-event-script/2108/3 "2010-08-14T00:08:43Z")

</div>

Hi Al,

On tables and lists, control-A will select all the rows if you have the “Selection Mode” property set to “Single Interval” or “Multiple Interval”. Even if the selection mode is set to “Single”, it’s probably still consuming the event, like Carl said. I use control-A all the time when I have rows of a table that contain time intervals that show up on a trend and I want to see everything. Maybe you’re better off trying a different combination that’s not a standard windows clipboard shortcut. I’d avoid shortcuts like control-X, control-V, control-S, etc.

Dan
