silvermountain Posted December 12, 2008 Share Posted December 12, 2008 (edited) I'm really appreciated if you could help me to find a solution for this issue:I have four screens to monitor the network, each screen is dedicated for one page , for example;the first screen to show the main page for the web application."whatsupgold"the second page to show another link.Is there any way to launch these pages automatically using autoit v3 and distribute these pages on the four screen when I reboot the machine.the main page is http://torlogs01:8080/NmConsole/Workspace/HomeWorkspaceThanks for helping me. Edited December 12, 2008 by silvermountain Link to comment Share on other sites More sharing options...
PsaltyDS Posted December 12, 2008 Share Posted December 12, 2008 I'm really appreciated if you could help me to find a solution for this issue:I have four screens to monitor the network, each screen is dedicated for one page , for example;the first screen to show the main page for the web application."whatsupgold"the second page to show another link.Is there any way to launch these pages automatically using autoit v3 and distribute these pages on the four screen when I reboot the machine.the main page is http://torlogs01:8080/NmConsole/Workspace/HomeWorkspaceThanks for helping me.On the local monitor(s) with local apps it would just be Run() the apps, and WinMove() their windows. Do you mean they are four browser windows? That could still be done with four instances of IE, or four embedded IE controls in a single AutoIt GUI. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
silvermountain Posted December 12, 2008 Author Share Posted December 12, 2008 (edited) they are four browser windows. each window should be launched on LCD screen. so I have four screens monitors, each sreen is dedicated to show one internet explorer page. to explain the case: we have an application runs as web interface, this application to monitor the network. and we have four screens in the hallway area, these screens are dedicated to show the network, each screen shows one internet explorer page. I need to find a script to launch four internet explorer pages on four LCD screens automatically, so when I reboot the machine, these pages opend automatically on the screens, each webpage goes to a specific screen, example: the first webpage which is the main page goes to Screen 1. the second webpage "another link" goes to screen 2.......etc. thanks Edited December 12, 2008 by silvermountain Link to comment Share on other sites More sharing options...
rabbitkillrun Posted December 12, 2008 Share Posted December 12, 2008 as PsaltyDS already said, Run() and WinMove() should do the trick... Link to comment Share on other sites More sharing options...
silvermountain Posted December 15, 2008 Author Share Posted December 15, 2008 (edited) as PsaltyDS already said, Run() and WinMove() should do the trick...I do not understand, could you please explain more.How can I do that?Thanks Edited December 15, 2008 by silvermountain Link to comment Share on other sites More sharing options...
PsaltyDS Posted December 15, 2008 Share Posted December 15, 2008 I do not understand, could you please explain more. How can I do that? Thanks This uses IE browser windows for the app instead of Run(), but the WinMove() is nicely demonstrated: #include <IE.au3> Global $avURL[4] = ["www.autoitscript.com", _ "www.google.com", _ "www.ubuntu.com", _ "www.openoffice.org"] Global $avIE[UBound($avURL)], $hIE For $n = 0 To UBound($avURL) - 1 If Mod($n, 2) Then $iX = @DesktopWidth / 2 Else $iX = 0 EndIf If $n >= 2 Then $iY = (@DesktopHeight - 32) / 2 Else $iY = 0 EndIf $avIE[$n] = _IECreate("http://" & $avURL[$n], 1, 1, 0) $hIE = _IEPropertyGet($avIE[$n], "hwnd") WinMove($hIE, "", $iX, $iY, @DesktopWidth / 2, (@DesktopHeight - 32) / 2, 5) Next Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
silvermountain Posted December 18, 2008 Author Share Posted December 18, 2008 thanks pasaltyDs, the script works perfect I just changed the value "32" to "0" Is there any way to scroll the page down in this script. I'm really appreciated. Thank you Link to comment Share on other sites More sharing options...
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