Difference between revisions of "ISKernel:console (Data Type)"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 16: Line 16:
 
== Examples ==
 
== Examples ==
 
function main()<br>
 
function main()<br>
{<br>
+
{<br>
if !${Console.Open} <br>
+
if !${Console.Open} <br>
press 0<br>
+
press 0<br>
wait 20<br>
+
wait 20<br>
call main<br>
+
call main<br>
}<br>
+
}<br>
  
 
''This would bascially pause your script if you open the console window''
 
''This would bascially pause your script if you open the console window''

Revision as of 18:34, 4 April 2005

Description

Members

  • bool Open: TRUE if the console is currently visible
  • bool Echo: TRUE if console "echo" is enabled (i.e. not squelched, and 'echo off' has not been used)

Methods

(these methods require Inner Space 0.74)

  • Toggle: Toggles the console visibility
  • Open: Opens the console
  • Close: Closes the console

Returns

(none)

Examples

function main()
{
if !${Console.Open}
press 0
wait 20
call main
}

This would bascially pause your script if you open the console window

See Also