• File Management

  • _FileCopy(FullPath_Filename_Source,FullPath_Filename_Target)

    • Purpose: Copies a file from the source location to the target.

    • Syntax: __FileCopy("Source Path/Filename", "Target Path/Filename")

  • _FileExist(FullPath_Filename)

    • Purpose: Checks if a file exists at the specified path.

    • Syntax: __FileExist("Full Path/Filename")

    • Returns: True or False

  • _FileSize(FullPath_fileName)

    • Purpose: Gets the size of a file in bytes.

    • Syntax: __FileSize("Full Path/Filename")

  • _Kill(FullPath_Filename)

    • Purpose: Deletes a file.

    • Syntax: __Kill("Full Path/Filename")

  • _LoadText(Variable,FullPath_Filename)

    • Purpose: Loads the contents of a text file into a specified variable.

    • Syntax: __LoadText("Variable Name", "Full Path/Filename")

  • _MakeDir(FullPath_Folder)

    • Purpose: Creates a new folder.

    • Syntax: __MakeDir("Full Path/Folder Name")

  • _RemoveDir(FullPath_Folder)

    • Purpose: Removes (deletes) a folder.

    • Syntax: _RemoveDir("Full Path/Folder Name")

  • _SaveBinary(Variable_with_Binary_Content, FullPath_Filename)

    • Purpose: Saves binary data (from a variable) into a file.

    • Syntax: __SaveBinary("Variable Name", "Full Path/Filename")

  • _SaveText(Variable, FullPath_Filename)

    • Purpose: Saves text content (from a variable) into a file.

    • Syntax: __SaveText("Variable Name", "Full Path/Filename")

    Image Manipulation

  • _FixedSizeImage(FullPath_Filename_Source, width_Target, height_Target, Extension_Target, FullPath_Filename_Target)

    • Purpose: Resizes an image to the exact specified width and height (might distort aspect ratio).

    • Syntax: __FixedSizeImage("Source", Target Width, Target Height, "JPG/PNG/GIF", "Target Path")

    • Notes: Variables newWidth and newHeight get the final dimensions.

  • _FormatImage(FullPath_Filename_Source, Extension_Target, FullPath_Filename_Target)

    • Purpose: Converts an image to a different format (JPG, PNG, GIF).

    • Syntax: __FormatImage("Source", "JPG/PNG/GIF", "Target Path")

    • Notes: Variables newWidth and newHeight get the final dimensions.

  • _MaxSizeImage(FullPath_Filename_Source, width_Target, height_Target, Extension_Target, FullPath_Filename_Target)

    • Purpose: Resizes an image to fit within a specified box, maintaining aspect ratio.

    • Syntax: __MaxSizeImage("Source", Target Width, Target Height, "JPG/PNG/GIF", "Target Path")

    • Notes: Variables newWidth and newHeight get the final dimensions.

    JSON Handling

  • _Json_To_Array(Json_Content, Variable_Name)

    • Purpose: Parses a JSON string and populates variables based on the JSON structure.

    • Syntax: __Json_To_Array("JSON String", "Base Variable Name")

    • Notes:

      • Creates variables like: Variable_Name_VarName_1, Variable_Name_Value_1, etc.

      • Returns Variable_Name_Json_Received (original JSON) and Variable_Name_Json_Created (number of variables).