
MsgBox Could not conduct the search for the wireless display. ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, C:\WirelessDisplay.png Sleep, 1250 Delay so the wireless displays have a chance to load into the Action Center window MsgBox Connect button cannot be found on the screen. Make sure your search image is in the correct location. MsgBox Could not conduct the search for the connect button in action center. ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, C:\Connect.png Try to find the Connect button tile Sleep, 750 Give it some time to slide open Below is AutoHotkey script code I used to open the action center, click connect, then click the top-most listed wireless display: Send #a Sends Windows button + A to open the action center Pretty simple but not an ideal solution as there are a few variables with this. Here is what I came up with using AutoHotkey. If anyone has suggestions on that front, please post them. All kinds of documentation out there to push toast notifications but I couldn't find anything to control the action center. I went the AutoHotkey route as I couldn't find an easy place to start with any Windows 10 API. I've been playing around with that the past couple of days. First of all, thanks to for the suggestion on AutoHotkey.
