Only activate when Windows Media Overlay showing?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
ahkonfused
Posts: 9
Joined: 29 Jun 2022, 21:22

Only activate when Windows Media Overlay showing?

Post by ahkonfused » 03 Jul 2022, 09:28

I've set up a hotkey to click the Windows Media Overlay arrow (that only shows up when there are multiple sources active)
As far as I could tell there was no way to trigger it via a keyboard shortcut so I resorted to clicking co-ordinates.

Image

However it would be better if it only worked when the Media Overlay was showing in case of misclicks etc

I've found the reference for it here https://docs.microsoft.com/en-us/uwp/api/Windows.Media.SystemMediaTransportControls?view=winrt-22621

Is there any way to say If this is active Then perform my task?

Return to “Ask for Help (v1)”