The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: RE: Re: AudioTron on sale at Laser in UK


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OT: Batch File Help



Quoting Paul Smith <wheelbarrowhandle@xxxxxxx>:


>             I'm trying to run 6 copies of IE in kiosk mode on windows XP
> pro. I have a cmd line which open IE in kiosk mode and then resizes and
> moves the window. It then loads the page I want, Streaming Video.
>

>
>             I need to then run 5 more which position then selves to form
> a grid. This I have done again with a cmd line for each.

I have script which opens 4 browser windows in a grid. Perhaps you could use
something like it instead.

'----------------------------
Dim IE
Dim screen_width
Dim screen_height

screen_width = 1024
screen_height = 768

Set WshShell = WScript.CreateObject("WScript.Shell")
Set IE = CreateObject("InternetExplorer.Application")
ie.left=0
ie.top=0
ie.height=(screen_height/2)
ie.width=512
ie.menubar=1
ie.toolbar=1
ie.navigate "www.theregister.co.uk"
ie.visible=1

Set IE = CreateObject("InternetExplorer.Application")
ie.left=(screen_width/2)
ie.top=0
ie.height=(screen_height/2)
ie.width=(screen_width/2)
ie.menubar=1
ie.toolbar=1
ie.navigate "http://www.google.com"
ie.visible=1

Set IE = CreateObject("InternetExplorer.Application")
ie.left=0
ie.top=(screen_height/2)
ie.height=(screen_height/2)-10
ie.width=(screen_width/2)
ie.menubar=1
ie.toolbar=0
ie.navigate "http://www.bbc.co.uk"
ie.visible=1

Set IE = CreateObject("InternetExplorer.Application")
ie.left=(screen_width/2)
ie.top=(screen_height/2)
ie.height=(screen_height/2) -10
ie.width=(screen_width/2)
ie.menubar=1
ie.toolbar=0
ie.navigate "http://www.automatedhome.co.uk"
ie.visible=1

Set WshShell = nothing
Set IE = nothing
wscript.quit
'-------------------

Justin.

Yahoo! Groups Sponsor
ADVERTISEMENT

http://www.automatedhome.co.uk
Post message: ukha_d@xxxxxxx
Subscribe:  ukha_d-subscribe@xxxxxxx
Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
List owner:  ukha_d-owner@xxxxxxx
List of UKHA Groups here - http://groups.yahoo.com/group/UKHA_Grouplists/


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.