Roman78 Posted September 6, 2011 Posted September 6, 2011 Hello all, We have here a computer we use to monitor the network. We are using 3 IE screens for this, running full screen (not maximized) on 3 separate monitors. Now i tried to script this, so we have less work each morning starting the screens. ; Move Dashboard to left screen $strWindow = "name ie screen - Windows Internet Explorer" $strText = "" $DebugInfo = "Wait for '" & $strWindow & "' to become active" WinWait($strWindow, $strText) If Not WinActive($strWindow, $strText) Then WinActivate($strWindow, $strText) WinWaitActive($strWindow, $strText) WinMove($strWindow, $strText,-3000, 0) Send("{F11}") The problem is whit the F11. I could run maximized command "WinSetState($strWindow, $strTex, @SW_MAXIMIZE)", but than also the F11 wont work. Also strange behavior of Windows is that when the screen is moved to another monitor and i press F11 it will go full screen on the main monitor. And when the screen is Full screen direct after booting nothing will help. So is there a possibility to set the 3 IE screens to full screen on each monitor?
javasqlrpg Posted September 9, 2011 Posted September 9, 2011 instead of sending F11 use IE.au3 #include <IE.au3> $site = "www.google.com" $oIE = _IECreate($site) WinWaitActive("[CLASS:IEFrame]") If Not _IEPropertyGet($oIE, "theatermode") Then _IEPropertySet($oIE, "theatermode", True) exit
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now