This topic tells you how to quickly add a function or procedure code in HEScript to your application. For instance, you found some code you want to use on our forum.
UserMainin the list. The script editor is opened:
See the full description of the script editor and its features
3.Paste the entire function you want into the editor. For instance, the following HEScript code returns the path to the "My Documents" directory:
function GetDocPath: String; begin Result := GetSpecialFolderPath(16); end;
4.Click Save Script. Your script is ready!
To execute the code previously shown, in PHP, we would use:
<?php $path = exo_return_hescriptcom ('UserMain.GetDocPath', '');
Introduction to Scripting
Using the Script Manager
Script Function Reference