Key Events in Services RRS feed

  • Question

  • Hello, I have a service that needs to respond to keyboard shortcuts and perform certain actions.
    How can I track keystrokes using C # or C ++ ??
    Monday, March 4, 2019 11:25 AM

All replies

  • Services don't have a UI and therefore cannot react to user input. Services run in a windows station without any user interactions. You need to create a regular app to monitor this. The app can communicate with the backend service using IPC if needed but the monitoring would need to occur on the user's desktop. Also note that multiple people can be logged in at once so you may get multiple events from different users at the same time.

    Michael Taylor

    Monday, March 4, 2019 2:47 PM