Jump to content

Automatically extend videos on windows 7

Recommended Posts


Does anyone know if you have how to choose the "Extend These Videos" option automatically on windows 7 using Autoit?



Edited by Belini

Share this post

Link to post
Share on other sites

I have now been able to extend the video but now recognize it as having 2 monitors even if it has only one monitor, can you solve this?

ShellExecute("DisplaySwitch.exe", "/extend", "C:\Windows\System32")


Local $hFullScreen = WinGetHandle("[TITLE:Program Manager;CLASS:Progman]")
Local $aFullScreen = WinGetPos($hFullScreen)

If Abs($aFullScreen[2] - @DesktopWidth) > 0 Then MsgBox(4096, "TEST", Abs($aFullScreen[2] - @DesktopWidth) & " x " & Abs($aFullScreen[3]))


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now