Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Run a script after a period of inactivity.

Posted on 2009-05-05
2
Medium Priority
?
1,100 Views
Last Modified: 2012-05-06
I have a public workstation which is used for internet browsing certain web sites.  People use the workstation, navigate to what they need and then leave.  Normally when they leave the browser is not at the regular homepage.  When the PC starts I have IE set to run automatically and the homepage set.  When the homepage is displayed it is inviting to people passing by, by what is displayed on the screen (the homepage) they understand what the workstation is intended for.  After someone uses the workstation and the browser is left at something other than the homepage there is no longer any evidence of what the pc is intended for.  What I would like to do is this.  Is there a way to trigger a script to run after a period of inactivity?  I would assume that after 10 minutes the user is no longer at the workstation and I will shutdown IE if it is open and then restart IE.  This way IE will display the inviting homepage.  Any help will be appreciated.  Thanks!
0
Comment
Question by:barrontech
2 Comments
 
LVL 13

Accepted Solution

by:
usachrisk1983 earned 1500 total points
ID: 24304385
Hmm, perhaps toy with creating a Windows Scheduled Task that runs every 10 minutes that runs your script, but under the Settings tab check the box that says "Only Start Task if the Computer has been idle for at least" - and enter 10 minutes, then put 10 minutes under the "if my computer has not been idle that long , retry for up to".  

If I'm reading it right, assuming it starts on the hour, at 1pm it'll check if the computer has been idle for 10 minutes, if so, restart IE, if not, keep retrying for up to the 10 minutes for when it becomes idle.  If it doesn't become idle in that 10 minutes, the next "schedule" would kick off and this would continue through the day

It's probably not exact, but will probably do the trick.  Just make sure to test it thoroughly - you don't want IE closing on some user who's trying to surf the web at your establishment :)

Alternative: What about setting a screen saver that  gives the message you're trying to get across with your homepage?  This is more easily set to 10 minutes on inactivity, and then you also wont need to script the IE restart solution.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My purpose is to describe the basic concepts of virtual memory as implemented in a modern Windows-based operating system. I will also describe the problems inherent in older systems and how virtual memory solves them. The dark ages - before virtu…
Log files are useful in diagnosing and repairing problems.  This is a list of common log files and their standard locations that I've compiled.   While this is not exhaustive, it is a pretty good list that I've found to be useful.  I may update it f…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question