Go to documentation repository
Documentation for Intellect 4.11.0-4.11.3. Documentation for other versions of Intellect is available too.
The Base64EncodeFile method is used to encode files using the Base64 scheme. The method returns a string.
See also The Base64Decode method and The SaveToFile method.
Syntax for method invocation:
function Base64EncodeFile (data_in: String): String
Method arguments:
- data_in is a required argument. It specifies the path to the file that you want to encode.
Example. On macro 1, encode the 1.bmp file to Base64 and write it to the 2.bmp file.
if (Event.SourceType == "MACRO" && Event.SourceId == "1" && Event.Action == "RUN") { var s = Base64EncodeFile("d:\\1.bmp"); SaveToFile("d:\\2.bmp",s, true); }
Overview
Content Tools