%SCR_PROCESS

Compile a script file into the open window library

WTSupported in traditional Synergy on Windows

 

USupported on UNIX
VSupported on OpenVMS
status = %SCR_PROCESS(script)

or

xcall SCR_PROCESS(script)

Return value

status

True if successful; false if not. (^VAL)

Arguments

script

The name of the window script file to compile. (a)

Discussion

The %SCR_PROCESS function compiles the specified script file into the window library that was opened by %SCR_OPENLIBRARY.

If script does not specify an extension, it defaults to .wsc.

If any errors occur (including no open library file, errors opening the script file, or syntax errors in the script), the error information is sent to the ESCRIPTERR_METHOD before this routine returns. (If Script cannot save to the window library, Script waits two seconds and tries again to save. Script attempts this ten times before displaying a message and prompting you again for a filename.)

See also