THIS 22.1
Read the GUI Into a Script
Read the GUI Into a Script
To read the GUI in a script you need to include the *.jsi file with the Use() function.
This will create a global variable (gui by default) containing all the GUI objects. The name of the variable can be changed in the GUI builder menu under General Options.
For example, to include the GUI saved in C:\my_gui.jsi:
Use("C:\\my_gui.jsi");