Multiple Image Resizer .NET v4.5.2
Help Documentation
Contents

Script Parser Errors

If a script file contains errors when it is validated by the Multiple Image Resizer .NET Script Engine you will receive a list of Script Errors to help you locate and correct the errors in your script file.

Script Errors are split into two categories "General Errors" and "Function Argument Validation Errors". The following lists all the Script Errors that can occur:

 

General Errors

Note that [X] will be replaced by the line number in the script file on which the error was found.

  • Script Parser Error: Script Error - Line [X]: Unrecognized function please check the spelling of the function.
  • Script Parser Error: Script Error - Line [X]: Function has incorrect number of arguments or the arguments are formatted incorrectly.

 

Function Argument Validation Errors

Note that [X] will be replaced by the line number in the script file on which the error was found, and [Argument Name] will be replaced by the name of the argument that is invalid.

  • Script Parser Error: Script Error - Line [X]: Argument [Argument Name] is invalid. The argument should be a number greater than or equal to one.
  • Script Parser Error: Script Error - Line [X]: Argument [Argument Name] is invalid. The argument should be a number between 1 and 100 (inclusive).
  • Script Parser Error: Script Error - Line [X]: Argument [Argument Name] is invalid. The file specified in the argument does not exist.
  • Script Parser Error: Script Error - Line [X]: Argument [Argument Name] is invalid. The folder specified in the argument is invalid.
  • Script Parser Error: Script Error - Line [X]: Argument [Argument Name] is invalid. The subfolder name specified in the argument cannot be a blank string.
  • Script Parser Error: Script Error - Line [X]: Argument [Argument Name] is invalid. The subfolder name specified in the argument contains invalid characters.
  • Script Parser Error: Script Error - Line [X]: Argument [Argument Name] is invalid. The font name specified in the argument is not installed on this machine, please check the spelling of the font name.
  • Script Parser Error: Script Error - Line [X]: Argument [Argument Name] is invalid. You have not created the font named in the argument.
  • Script Parser Error: Script Error - Line [X]: Argument [Argument Name] is invalid. You have not created the fill named in the argument.
  • Script Parser Error: Script Error - Line [X]: Argument [Argument Name] is invalid. You have already created a font using the same name.
  • Script Parser Error: Script Error - Line [X]: Argument [Argument Name] is invalid. You have already created a fill using the same name.
  • Script Parser Error: Script Error - Line [X]: Argument [Argument Name] is invalid. The alpha argument of the ARGB color should be a number between 0 and 255 (inclusive).
  • Script Parser Error: Script Error - Line [X]: Argument [Argument Name] is invalid. The red argument of the ARGB color should be a number between 0 and 255 (inclusive).
  • Script Parser Error: Script Error - Line [X]: Argument [Argument Name] is invalid. The green argument of the ARGB color should be a number between 0 and 255 (inclusive).
  • Script Parser Error: Script Error - Line [X]: Argument [Argument Name] is invalid. The blue argument of the ARGB color should be a number between 0 and 255 (inclusive).