This command enables you to query Shogun Post's internal list of scripts to see whether a particular script exists. This may be useful if you are trying to construct a set of smart scripts which call other scripts based on their existence.
Calling a script which does not exist will cause the calling script to fail, which is almost always undesirable.
This command is largely superseded by the runScript command.
|string||yes||Name of the script to look for. The script name is the portion of the script file's file name excluding the extension (e.g. CutKeysSmart.hsl would have a name of CutKeysSmart).|
Returns true if a script with the given name exists in Shogun Post's internal list of scripts.
// See if the CutKeysBigRanges script exists in our script directories.
//If not don't call the script that relies on it.
if( `scriptExists "CutKeysBigRanges` == true )