perhaps @ColsoleState would be the way to go...

0= kix32 'hidden' and wkix
1= minimized
2= shown
3= max
4= always on top
etc...

which would return the current state of the console... Ruud has to have a handle on it as he sets an errorcode for setconsole.
_________________________
How to ask questions the smart way <-----------> Before you ask