FUNCTION KEYS & CLICKABLE BUTTONS
uCon supports function keys and clickable buttons. Both are located at the top of the main window but may or may not be visable depending on the current view state. The difference between function keys and clickable buttons is minor. Function keys can be engaged by the mouse or the corresponding keystroke, clickable buttons can only be engaged by a mouse click.
Function Keys:
By default, the content of the "Text" box will be automatically typed if the corresponding function key is depressed (or the button is clicked). Optionally, the string in the text box can be terminated with the string "\n" (backslash 'n') to add the equivalent of "ENTER" to the string.
The content of the "Label" box is placed in the corresponding function key label on the main window to provide the user with a brief reminder of what is in the function key. Note that not all 12 keys have label boxes, this is because of the limited space used to display the function key labels on the main window.
If the "Script" box is checked, then uCon will assume that the content of the Text box is a filename, and it will be run as a script. This provides a "single click" script execution mechanism.
The "ClearAll" button is a quick way to empty the content of all text in the dialog box. Note that this does not actually take affect until "OK" or "Apply" is depressed.
Clickable Buttons:In addition, the buttons have an added feature to allow the capability of each button to expand into things other than just pre-deteremined blocks of text sent to the backend. For lack of a better name, refer to them as button "tags", where the tag is used to assign that button to some other operation. The syntax of the text loaded into the button's "text" editbox is simply...
@@@TAGTEXT: DDDDDDDDDDDDDDDDD
Where...
Currently supported tags:
@@@LTAG: place all data into the logging file as a user-loaded entry.
As of this writing there is only one tag specified, but since this is a very simple idea to implement, more tags are sure to follow.
Save that setup!