JACOsub 2.5r SCRIPT FILE FORMAT SPECIFICATION ============================================= Here is the complete JACOsub script file format specification. It's not complicated (unless you want it to be) and quite flexible. Check out the sample script (demo.js) that came with this software; it demonstrates many of the things you can do with a script. The accompanying file QuickRef.doc is a summary of this document, providing brief descriptions of the commands, escape codes, and directives that you can put into a script. CONTENTS OF THIS DOCUMENT ========================= 1. Basic format conventions 2. Compiler commands 3. Timed lines 4. Directives (for controlling timed lines) 5. Sample lines 6. Credits Most of the information in this document is demonstrated by the timed script demo.js, which is included in the JACOsub distribution archive. 1. BASIC FORMAT CONVENTIONS ============================ 1. Space characters (white space) may consist of spaces or tabs. Any line in a script file may contain any amount of white space in front of, behind, or in between parameters or words. 2. A line cannot be more than 511 characters in length (but you can concatenate several lines; see "escape codes" below). 3. Lines in the file may be blank lines, compiler commands, or timed lines for the script. All these are explained below. 4. Blank lines or lines containing white space only are ignored. 2. COMPILER COMMANDS ===================== Any line where # is the first non-space character is treated as a compiler command. The command is indicated by the next character or word (upper or lowercase) following the #. Some commands have arguments, which are assumed to begin with the next non-whitespace characters following the command. Anything shown here in square brackets [] are optional. The commands are: # (followed by a space) Comment. The line will be ignored. Example: # This is a comment. #C[LOCKPAUSE]