5 Graph Description Language (GDL) - Absint
5 Graph Description Language (GDL) - Absint
5 Graph Description Language (GDL) - Absint
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
5.12 User Action<br />
aiSee supports the concept of user actions. User action means that commands can be specified in<br />
<strong>GDL</strong> (see useractioncmd, p. 88). These commands are executed when one of the menu entries of<br />
the Auxiliaries menu is invoked.<br />
aiSee supports four commands to be specified in the graph description. They differ in the way that<br />
command line arguments are supplied to the command. The command specified for<br />
• user action 1 and 2 takes no argument at all,<br />
• user action 3 takes one argument,<br />
• user action 4 takes a list of arguments.<br />
The supplied arguments for user action 3 and 4 are a node title or a list of node titles respectively,<br />
i. e. before these commands are executed the user has to click a node or a set of nodes whose node<br />
titles are passed to the command.<br />
The menu entries corresponding to the user actions in the Auxiliaries menu can be specified in<br />
<strong>GDL</strong> as well with the useractionname (see p. 89) graph attribute.<br />
Example: User Action<br />
01 ...<br />
02 useractionname1: "Start netscape"<br />
03 useractioncmd1: "netscape"<br />
04 useractionname2: "Goto AbsInt"<br />
05 useractioncmd2: "netscape http:\\www.AbsInt.com"<br />
06 useractionname3: "Start aisee with one <strong>GDL</strong> file"<br />
07 useractioncmd3: "aisee"<br />
08 useractionname4: "Start aisee with several <strong>GDL</strong> files"<br />
09 useractionname4: "aisee -multi"<br />
10 ...<br />
5.13 Character Set<br />
It is possible to switch the text colors or underlining within text output, e. g. drawing of labels<br />
or info fields. This is controlled by special characters in the strings. Note: The ASCII value of<br />
the control characters depends on the operating system and C compiler. The following control<br />
characters are allowed:<br />
• "\n" (ASCII code 10)<br />
Newline: drawing of text continues at the beginning of the next line.<br />
• "\t" (ASCII code 9)<br />
Tab: corresponds to eight space characters.<br />
109