banner

API.LoadFile method

Retrieves the contents of a file.

Syntax

sContents = window.external.API.LoadFile(sPathToFile);

Parameters sPathToFile

String. Path to the file to read its contents.

Return Values String. The contents of a file.
Applies To window.external.API
Example
window.external.API.LoadFile(%WINDIR%\FileName.bmp);