A
A
akdes2015-11-09 02:00:20
Windows
akdes, 2015-11-09 02:00:20

Play keyboard (spacebar) in system tray without forms?

Hi all.
In C# experience 0, there is a need/desire to write a script that will hang in the tray and listen for example to the "space" key.
I wrote a program that hangs in the tray (notifyIcon) and has the necessary options for me, but then the problem is:
All the tutorials that I found are designed for use in forms, which I don’t have in this case.
Can you please tell me how to accomplish the above task? I will be additionally grateful for resources and / or pieces of code. :)
Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rasim Keita, 2015-11-09
@keyros

Here is an example of what is

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question