     textColor := "303030"
     windowColor := "FFFFFF"
     SplashImage, % icon, B1 X%x% Y%y% W%width% H%height% ZH%iconSize% ZW%iconSize% CW%windowColor% CT%textColor%, % message, % title, ,
+    SetTimer, HideOverlay, % -hideOverlayDelay
 }
 
 HideOverlay() {

}

ShowOverlay(title, message, icon := "") {
    global overlayVisible, overlayEnabled
    if(!overlayEnabled) {
        return
    }

Options() {
    global
    overlayEnabled := 1 ; 1 = enabled, 0 = disabled
    hideOverlayDelay := 1000 ; milliseconds for overlay to remain visible before auto-hiding
}

;;;;;;;
