If I start the same script with KiX32.exe, a console appears for 2 seconds, is then invisible for 4 seconds. So this is normal, it doesn't show up, after I hide the console with the function SetConsole("Hide"). And that's how it should work. Hide is hide, right?!

SetConsole("Hide") should hide the console, no mather what.
SetConsole("Show") should show the console.