Jump to content

Help! to find a script to launch 4 webpages on 4 screens


Recommended Posts

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/HomeWorkspace

Thanks for helping me.

Edited by silvermountain
Link to comment
Share on other sites

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/HomeWorkspace

Thanks 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

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 by silvermountain
Link to comment
Share on other sites

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

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...