So I wanted to close toast notification.
- Press Shift + Win + V move the focus to the notification.
- Then, Delete to dismiss it
I am wondering if C# or VB.net can achieve this without using 3rd party library, so I tried:
SendKeys.SendWait("+(^{v})")
and
SendKeys.SendWait("+(^{V})")
neither works for casing of v, what's wrong? Which syntax is written correctly?
I logged it with KeyEventArgs but seems like it didn't send the Windows Key. I tried SendKeys.SendWait("+(^{ESC}v)") but it opened task manager instead