pageopk.blogg.se

Install miracast windows 10
Install miracast windows 10









install miracast windows 10

First it will press WIN+K which will open the Action Center Connect window.

install miracast windows 10

Now let me explain how this script works: Send Send ESC key to close the Action Center Connect window Make sure the wireless device is turned on. MsgBox Wireless display image cannot be found on the screen. ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, C:\WirelessDisplay.png try to find the first Wireless Display device listed Try 1 more time in case it took a long time for the wireless displays to appear 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.











Install miracast windows 10