Jump to content

Automatically extend videos on windows 7


Belini
 Share

Recommended Posts

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

http://s897.photobucket.com/user/belinioliveira/media/Video.jpg.html

 

Edited by Belini
Link to comment
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")

ProcessWaitClose("DisplaySwitch.exe")

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]))

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...