"Henninger5" <ffrugone@newsgroup> wrote in message
> Platform: Windows XP SP3, domain workstation.
> I need a script that:
> 1. Checks the username of the logged on user.
> - If the user is one of two specific users, it logs them off
> - If the user is not one of two specific users, proceed to step 2.
> 2. Display a dialog box with a timer ticking down the seconds from 20
> minutes. Also in the dialog box, show the caption, "Unless the
> countdown is cancelled, the user will be automatically logged off." At
> the bottom of the dialog box, show a button that reads "Cancel
> - If the button is clicked, the dialog box disappears and the
> countdown is cancelled.
> - If the timer counts all the way down, the user is immediately logged
> Can someone please help me? Thank you.
I recommend you download the helpfile script56.chm from the Microsoft site,
then use it to put together a framework that meets most of your
requirements. You then post your code and ask for assistance on some of the