ISKernel:console (Data Type)
Jump to navigation
Jump to search
Contents
Description
The data type for the InnerSpace Console. The methods control the Console's visibility.
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
- Toggle: Toggles the console visibility
- Open: Opens the console
- Close: Closes the console
Returns
(none)
Examples
See if console is open
- ${Console.Open}
- Will return TRUE if opened
Toggle console visibility
- Console:Toggle
Open the console
- Console:Open
Close the console
- Console:Close
- Example code
function main() { if !${Console.Open} press 0 wait 20 Call main }
This would bascially pause your script if you open the console window