Contents

Other Commands


run <command_line>, <accumulator> - Runs an external command or console application, waits for it to finish, and stores its exit code (decimal) in the accumulator. The accumulator is optional. On a start failure it records an error and stores -1.
getenv <name>, <accumulator> - Reads an environment variable into the accumulator (empty if not set).
md5 <file>, <accumulator> - Computes the MD5 hash of a file (32 lowercase HEX characters).
sha256 <file>, <accumulator> - Computes the SHA-256 hash of a file (64 lowercase HEX characters).
status <text> - Writes a diagnostic line to the protection status bar (and the console, if attached). The main way to report progress from a script.
pause <milliseconds> - Pauses script execution for the specified duration.
play <wav_file> - Plays a sound file.
loadfunction <dll_path>, <func_name>, <p1>, <p2>, <p3>, <accumulator> - Dynamically loads a DLL and calls the named function with three integer parameters, storing the numeric return value.
exit - Terminates script execution.

 

Copyright © 2001 - 2026, DotFix Software