Click here to return to the KiXtart HelpDesk main page...

KiXtart Script Depot

Controlling Window State

; ScriptNavn:  WindowState.kix
; Lavet af:     Brian Petersen
; Dato:          04.12.1999     
; Beskrivelse: Demonstrating the 4 Window State modes controlled by the KiXtart SetConsole Function.

Break On

SetConsole("FOREGROUND")
? "Console moved to foreground......"
sleep 3

SetConsole("MINIMIZE")
? "Console minimized......"
sleep 3

SetConsole("FOREGROUND")
? "Console moved to foreground......"
sleep 3

SetConsole("HIDE")
? "Console hidden......"
sleep 3

SetConsole("SHOW")
? "Console SHOW......"
sleep 3

Echo OFF
cls
exit