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

// 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"

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

Components InputAssistant