Purpose
You want to enable UI logging on the screen and be able to enter some parameters directly
Solution
Include the following simple scripts.
(Replace the license key in the InputScript with a valid key.)
Hint:
The specified project must already exist in the database. If necessary,
create it beforehand by specifying the project in the selection and then clicking on "Configuration".
GuiXT script
GuiXT
// Administration for UI logging
Box (0,120) (7,163) "UI Logging"
InputField (1,121) "Transactions" (1,141) _
size=20 name="uilogconf_trans"
InputField (3,121) "Project Name" (3,141) _
size=12 name="uilogconf_project"
Radiobutton (5,121) "On" name="uilogconf_status" value="X"
Radiobutton (5,127) "Off" name="uilogconf_status" value=""
Pushbutton (5,149) "@2L@Save" _
size=(2,13) process="activate_ui_logging.txt"
using TA = [uilogconf_trans]
using PN = [uilogconf_project]
using ST = [uilogconf_status]
InputScript script "activate_ui_logging.txt"
GuiXT
Parameter TA
Parameter PN
Parameter ST
If U[ST]
if not U[TA]
ProcessingOption uiLog="On" uiLogProject="&U[PN]" _
uiLogLicense="MyCompany20200831.uilog..." _
uiLogInterval="1"
message "UI Logging activated: All transactions" -statusline
else
ProcessingOption uiLog="On" uiLogProject="&U[PN]" _
uiLogLicense="MyCompany20200831.uilog..." _
uiLogInterval="1"
message "UI Logging activated: Transactions &U[TA]" -statusline
endif
else
ProcessingOption uiLog="off"
message "UI Logging deactivated" -statusline
endif