Defining Global Variables on Start-up
Posted: 17 Apr 2022 19:11
I posted in another thread asking if there might be a way to create a custom <MyVariable>, with the same scope and functionality of <xypath>/<xyicons>/<xydata>/etc.
My particular use case was described in my post, but essentially I'd like to turn a repetitive string that I use throughout XY (CFA/Scripts/Toolbar/etc) into its own variable.
A simple .ini file in the XY folder could suffice, a more advanced option might be a .xys script that is run at XY start-up to allow the user to generate more complex variables. These variables could then be used across XY in the GUI and scripts, just like <xypath>/<xydata>/etc.
My particular use case was described in my post, but essentially I'd like to turn a repetitive string that I use throughout XY (CFA/Scripts/Toolbar/etc) into its own variable.
A simple .ini file in the XY folder could suffice, a more advanced option might be a .xys script that is run at XY start-up to allow the user to generate more complex variables. These variables could then be used across XY in the GUI and scripts, just like <xypath>/<xydata>/etc.