GuiXT Script Editor |
Overview The GuiXT script editor supports
When you work with large scripts, it will considerably facilitate your work. |
Installation Please download the editor setup program (guixt.editor.setup.exe) from our download page and execute it. It copies the program guixteditor.exe to the installation directory. It also defines the GuiXT script editor as standard editor in GuiXT profile. You can change the standard editor setting in GuiXT profile back to notepad.exe, or to another text editor of your choice at any time. We suggest that you also download the html help file (guixt_e.chm for English documentation) to the same directory in which you installed the script editor. The integrated F1 help for keywords links to this file. For future updates, please note that the script editor program and the help file can be updated independently of one other. When you click on the “Script” or “InputScript” button in GuiXT the new editor will now come up.
|
ANSI- and UTF-8 codepages For SAP Unicode systems you need to save the scripts in UTF-8 format, otherwise special characters, e.g. Umlauts, will not be displayed correctly, and screen elements containing these characters are not recognized. The script editor support UTF-8 as of version 2009 1. With the “Save as…” dialog you can save an ANSI script in UTF-8 and vice versa. New scripts are always created using the least recently used format. The format (ANSI or UTF-8) is also displayed in the title line for each file in the editor.
Customizing: Choose a font With Options->Choose font you can select a font. For our examples here we have chosen Courier New, Bold, Size=10
We suggest that you select a fixed-sized font, since some parts of your scripts are perhaps aligned using “space” characters. Example:
Courier New
Arial
Customizing: Choose colors (or keep the standard ones)
Customizing: Select/deselect backup feature
When you save a fi “C:\GuiXT\Scripts\va02_textdisplay.txt.20050221.163105.bak” A comparison feature for such files is planned for the future. |
Insert a command To insert a command, you can either click on the insert command button in the toolbar:
Or you use the right mouse button on an empty script line. The editor will then display a small menu containing all GuiXT commands in a 2-level menu:
When you select a command, the editor inserts one or several lines containing the command in a typical format. In some cases, it will also add a comment containing remarks or additional options. Example:
|
Creating you own code blocks for the ic menu You can define your own code blocks for the ic menu, for example a standard script header or a correction remark. To do so, create a folder “mytemplates” in the script editor installation folder, i.e. in the folder that contains the “guixteditor.exe” file. For each code block that you want to define, create a “.txt” file in the “mytemplates” folder. All these files will be displayed by the script editor in “my templates” within the ic menu. Choose suitable file names, since the script editor uses the file names for the menu item labels. |
Display GuiXT help for a keyword To display help, you can either press F1 on a line, or you use the right mouse button menu:
|
Display an “include” file or a “process=” file Use the right mouse button menu on the line that contains the “include” or the “process=” option:
|
Working with several files When you work with several files, it is often helpful to use the “tile vertically” option in the “Window” menu:
|
Further functions Further functions include “pretty print” and “putting code in comment” . And of course the usual editor functions like Undo, Cut&Paste, Printing.
|