Checking scripts
To begin debugging a script, you can:- Press the F9 key.
- Click the Check button on the toolbar.
- Open the Tools menu and click Check Script.
You can save scripts with errors and fix the errors later.
Customizing the editor
You can use the View menu to customize the appearance of the script editor. The View menu contains the following items:- Errors Window
Changes the position of the error pane in the editor. You can choose to place it at the top, at the bottom (selected by default), on the right or on the left. - Toolbar
Shows or hides the toolbar. - Status Bar
Shows or hides the status bar.
Adding a custom function
To add a custom function, select one of the following global modules in the drop-down list on the toolbar: Script in <object_name\document_definition_name>, Rule Global Script Module or Export Global Script Module. For more information about scripting in ABBYY FlexiCapture, see Using scripts.You cannot use RTL languages for text constants in the script editor. If you need to add RTL text into your script, use one of the following workarounds:
- Place your RTL text into a user script message or an environment variable.
- Use an external assembly for your project or Document Definition (for more information, see External assemblies).
