Difference between revisions of "ISKernel:console (Data Type)"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
== Examples == | == Examples == | ||
− | function main() | + | function main()<br> |
− | { | + | {<br> |
− | if !${Console.Open} <br> | + | if !${Console.Open} <br> |
− | press 0 | + | press 0<br> |
− | wait 20 | + | wait 20<br> |
− | call main | + | call main<br> |
− | } | + | }<br> |
− | + | ''This would bascially pause your script if you open the console window'' | |
== See Also == | == See Also == |
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