Solved

Run a script after a period of inactivity.

Posted on 2009-05-05
2
1,084 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 13

Accepted Solution

by:
usachrisk1983 earned 500 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

In a hurry?.. scroll down to "HERE's HOW TO DO IT" Section. Greetings All, I was going to post this as question/solution, but its seems more appropriate as an article considering its length.  I felt it important to illucidate all the details c…
This article covers how to install the Microsoft Windows Operating System (OS). What is covered in this article:  > Different Versions and Editions of the Windows OS  > Upgrading versus Fresh Installation of the OS           - Steps to take pr…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

632 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