Losing focus from Windows Action Center

Get help with using AutoHotkey and its commands and hotkeys
Posts: 1
Joined: 05 Aug 2020, 14:00

Losing focus from Windows Action Center

05 Aug 2020, 14:06

I am trying to create a hotkey (Windows+`) to dismiss Windows 10 notifications. Normally when a notification pops up from the Action Center you can hit Windows+Shift+V to focus on the notification, and then Delete to dismiss it. I want to have Windows+' do this combination for me. I have the following script, which works sometimes, but often it will lose focus after the first key combination, and the Delete will be entered into a different program. How can I make sure to hold focus on the notification throughout the script?

Code: Select all

Send, #+v
Sleep, 2000
Send, {Delete}

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], Dario91, Google [Bot], nichatr, sebbulon, TAC109 and 34 guests