If a script relies on specific features then it should check that the version of WizoScript running is at least a minimum version. Note that this functionality was added in WizoScript 4.00 so earlier versions cannot be determined from a script.
Requires WizoScript 4.00 or later.
Win = Windows()
# minimum WizoScript version required
MinWSVersion = 4.10
# check WizoScript has the functionality we require
WizoScriptVersion = 0
if WizoScriptVersion < MinWSVersion:
Win.ErrorDialog('This script requires WizoScript version %.2f or later. Please update by going to www.wizotools.com' % MinWSVersion, 'My Script')