Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


KidProof.wbt Provides Parental Control Over Desktop

Keywords: security

Here's a sample script to load programs, and then hide other stuff on the desktop. Also uses added security, such as password entry.
 a1="Lets you load some programs that kids want to play with, and then by "
 a2="running this script, it will hide ProgMan and any iconized programs. "
 a3="When all initial windows have been closed, you will be prompted for a "
 a4="password to continue.  When the correct password is entered, the "
 a5="iconized windows will come back.  PS.  The password for now is TINCAN"
 
 a6=strcat(a1,a2,a3,a4,a5)
 Message("KidProof",a6)
 drop(a1,a2,a3,a4,a5,a6)
 
 ;<-----------------------snip-------------------------------------------->
 
 ;Are we already running?
 if WinState("Program Manager")==@HIDDEN
    Display(5,"Hmmm","KidProof already running")
    exit
 endif

 PswdMsg="Password is tincan"   ; <<<<<<<<<<<<<<<




Article ID:   W13752
Filename:   KidProofwbt Provides Parental Control Over Desktop.txt