random667 Posted October 21, 2005 Share Posted October 21, 2005 My daughter Izzy is 3. She likes coloring with mspaint on the computer. She also likes moving around my icons, and taskbars, deleting and renaming things on accident. So, i made this simple script to run when i go away from the computer. IzzyPaint.au3: #include <GUIConstants.au3> GUICreate ("IzzyPaint") ; will create a dialog box that when displayed is centered Opt("TrayIconHide", 1) GUICtrlCreateLabel ("Close this box to re-open windows",10,10) GUISetState () ; will display an empty dialog box Run("mspaint.exe", "", @SW_MAXIMIZE) ControlHide("Explorer", "", "") ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() ProcessClose("Explorer.exe") If $msg = $GUI_EVENT_CLOSE Then Run("Explorer.exe", "", @SW_MAXIMIZE) Exit EndIf Wend It is really sad to see a family torn apart by something as simple as a pack of wolves. Link to comment Share on other sites More sharing options...
Ghastly_MIB Posted October 24, 2005 Share Posted October 24, 2005 Simple, but effective Link to comment Share on other sites More sharing options...
Nuffilein805 Posted October 24, 2005 Share Posted October 24, 2005 good idea i did something like this for my son, cause i don't want him to mess up my pc, but i just blocked the input by hotkey, because i like to keep my programms running and he sometimes manages to close some my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now