Thomas Much
Entwickler • Trainer • Autor
muchsoft
home ] software ] training ] links ] kontakt ]
InScript ] version history ] bug list ] object reference ] special features ] test page ] links ]

InScript

Special Features


 

Detecting InScript

If you need to know if your script is being executed by InScript, you can use the following line of JavaScript source code:

isInScript = (window.ScriptEngine) ? (ScriptEngine().indexOf("InScript") != -1) : false;

However, it is far better style to check for the presence of certain properties - just as the line above does with "... (window.ScriptEngine) ? ...".

 


 

Debugging with InScript

There is an easy way of displaying debug output with InScript:

if (self.debug)
{
  debug("This text is written to the Java/InScript console.");
}

This also works in the automatic proxy configuration environment!



Impressum — Letzte Änderung: 06.12.2004