Firing hotkey

  • Thread starter Thread starter marek zegarek
  • Start date Start date
M

marek zegarek

Hello!

I wrote application, that is watching Windows session for some windows.
I want to close them by pressing "Alt+F4", when windows shows.

How to fire hotkeys like that?
 
I found an answer - Sendkeys.send from windows.forms.
But i have problem - when i run first time, everythign is ok. But at second
it run only first part of hotkeys :/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top