Scripts automate repetitive tasks and provide additonal features that are not available in PageStream. They allow you to customize PageStream to meet your needs.
PageStream offers two types of scripts. Internal scripts can contain only commands so they can only set options. These scripts execute very quickly. You can use them even if you don't know how to use a scripting language because they can be created by recording your actions. External scripts rely on the scripting language of your computer. MacOS computers use AppleScript, while AmigaOS computers use ARexx. External scripts can be more powerful, because they can get information from PageStream as well as set options, but they are also slower to execute.
Instructions on how to write scripts are beyond the scope of this manual. Complete documentation on all PageStream and BME commands and queries is provided in the PageStream and BME Scripting help files. Instructions for using internal scripts are provided below.
To record an internal script: Display the Script palette and click its Record button, or choose Record from its pop-up menu. Perform the actions you want to record and then click the Stop button or choose Stop from the Script palette's pop-up menu. You can then edit the script, display it in the Scripts menu, or assign it to an available function key with the Edit Script dialog box.
To play an internal script: Select the script from the Scripts menu or press its associated function key. Alternatively, you can select it from the Script palette and click the Play button.
To edit an internal script: Select the script from the Script palette and choose Edit from the pop-up menu. Alternatively, hold down Shift while selecting the script from the Scripts menu or Script palette.
To save your scripts: Choose Save from the Script palette's pop-up menu to save your script setup as the default. You can save your scripts to other files, and even export them as the basis for AppleScript or ARexx scripts.