Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

displaying webpage non stop on a computer without auto boot and shutdown everyda


  • Please log in to reply
No replies to this topic

#1 borvishal

borvishal

  • Members
  • 29 posts
  • OFFLINE
  •  
  • Local time:09:21 AM

Posted 14 April 2016 - 03:35 PM

hi All,
 
I need to display a certain website on a touchscreen monitor for extended period of time (8 hrs minimum or even few days at a stretch). Right now I have written a utility in vbscript which launches that application on machine startup and continues to run without locking the screen. Its like displaying live data on a giant screen. I have then attached that laptop to a touchscreen monitor where I can navigate through the site and play around. I have below issues where I need help to resolve:
 
1. My current script doesn't let me start or shutdown the laptop. I have to manually do that. Is there any way we can start the laptop externally at a given time (say every morning 8 AM) and shut down automatically at say 5 PM? I know we can shut it down from another computer but how to start it in the morning (how to start a dead machine)?
2. Current script uses scroll on/off every few mins to keep the laptop alive without having to touch the mouse or do anything else. However this is not very reliable since it worked for 1 full day and next time it failed after some 4 hrs. how to make sure that it will work constantly for atleast 2-3 days if not more?
 
I am putting the simple vbscript below. Please suggest improvements !
 
Thank you,
 
Vishal
 
 
On Error Resume Next
Set objExplorer = CreateObject("InternetExplorer.Application")
objExplorer.Navigate "<my website>"
objExplorer.Visible = 1
Wscript.Sleep 1000
Set oShell = CreateObject("WScript.Shell")
oShell.SendKeys "{F11}"
'Send ALT + SPACE + X
'oShell.SendKeys "% X", 1000
Wscript.Sleep 9000
Set objDoc = objExplorer.Document
Do While True
    Wscript.Sleep 60000
    objDoc.Location.Reload(True)
    oShell.SendKeys ("{SCROLLLOCK 2}")
    If Err <> 0 Then
        Wscript.Quit
    End If
Loop

Edited by Queen-Evie, 14 April 2016 - 05:50 PM.
moved from Tips and Tricks


BC AdBot (Login to Remove)

 





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users