Jump to content
Sign in to follow this  
random667

Izzy Paint

Recommended Posts

random667

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.

Share this post


Link to post
Share on other sites
Ghastly_MIB

Simple, but effective B)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×