isPlayBackMode() |
Top Previous Next |
isPlayBackMode( $PLAYBACK symbol )
Returns true if the script is currently running in Playback mode.
Parameters
Usage
var bBail = false; var bInit = false;
function main() {
if ( bBail==true ) { return; }
if ( bInit==false ) {
if ( isPlayBackMode( $PLAYBACK getSymbol() ) == true ) { debugPrint( "Sorry. This script does not run in playback mode.\n" ); bBail=true; return; }
bInit = true;
}
... ...
}
|