|
Creating a script is easy, once you master a few simple concepts and become familiar with the command language elements. Once you have opened a new text file in a word processor or other application that is compatible with Sahafi, you can begin to construct the series of statements in your script.
Keep the following guidelines in mind:
-
Begin each script with prologue statements that set up the document-level preferences and parameters, such as page size, units of measure, orientation, number of pages, and so on.
-
After the document-level statements, you should construct your document one page at a time. Each page must start with a page number identification statement, and any statement that governs overall preferences for that page (font sizes, line weights, and so on). The first page uses the default settings you set in the document-level preferences at the beginning of the script. Required argument values must be entered in the proper order, or the statement might fail.
-
ReadyScript interprets every statement literally and sequentially in time. Keep in mind that if you overlap objects, such as text blocks and graphics, the first object mentioned in sequence will be on the back-most layer, followed by the next object occupying the same shared page coordinates, and so on. Similarly, if you enter a formatting instruction, the instruction remains in effect for the text following it, until a different instruction is entered.
-
Be certain that all of the required command names, arguments, and values are present in the proper order, and spelled correctly according to ReadyScript names and syntax rules. Remember, spaces and case are ignored by ReadyScript.
If you do not specify a formatting command or argument within ReadyScript, Sahafi might substitute its own default settings. If something doesn't look right, you might not have specified the appropriate argument or argument value.
You can use the following commands as prolog statements to set up your document. You can also use some of these statements as page statements when you want to change the document defaults temporarily to suit the needs of a particular page or set of pages.
|
|