Scripts: implemented in 'Infoboxes'
Scripts are composed of individual text files that comprise the modules of the script. These text files are sometimes referred to as infoboxes or image information files because they were originally used to provide additional information about documents within the FoD image catalog. They still retain their original purpose. However, additional types have been added to support scripting (see the $type command). The files have a file extension of .IIF and they must be located in the folders defined by the $script_locn commands in the user profiles (.USR or .UJP files). If an infobox file (.IIF) is found in the same folder as a fax document file (e.g. .TIF) then the fax document file will be ignored when its 'box number' is referenced.
Scripts are not compiled. CopiaFacts retrieves and interprets each module as required. However, you can assemble a script into what is called an "infobox collection" to improve performance. You should only do so after you have completely tested your script. The collection essentially keeps all of your script modules in memory as a unit with entry points for each module, which allows faster access to your modules. Collections can be replaced and reloaded while CopiaFacts remains running (without affecting calls already in progress) by means of a button on the COPIAFACTS Options page. See COLLECT for more information.