Thingworx Keyboard Shortcut to invoke services/functions
- January 8, 2025
- 1 reply
- 923 views
Dear Community,
I'd like to ask your help on one of our requirements. At the compony we are working at there are many user requirements that is related to Keyboard Shortcuts usage.
Users would like to use Keyboard Combination to perform some tasks or interact with mashup services/functions.
For example, pressing F1 or CTRL+H on a specific mashup would open a 'Help' document for the user if mashup is active/loaded (considering master mashups also). (see attached img)
We are thinking about creating a custom extension widget, that would register an eventlistener for keyboard pressing, however it seems very complex not only to capture the keypressing, but also to fire a service/event binded to this widget.
e.g.: Widget would have property
- that holds the "Key" value that the listener should watch,
- also that holds the "Modifier" (Ctrl) key that the listener should watch,
- A bindable Event Trigger to fire the mashup services/events
if there user pressing the desired combination, the service / function is getting invoked.
I'm wondering whether there is any working solution to achive similar functionality on the Mashups.
Any help, suggestion how to achive the above is greatly appreciated!
(Current Thingworx version is 9.3.2)
Thank you!

