Forum Discussion
ScottWiley1
10 years agoCommunity Member
Use a trigger to create a variable?
I'm trying to create some pre-made templates to cover various situations and am wondering if it is possible to use a trigger (JavaScript?) to create a variable that could then later be set by other ...
ScottWiley1
10 years agoCommunity Member
Thanks Christie and Phil.
I'm very knowledgeable of how to manually add and later change variables via a trigger.
I was hoping that besides just the "Get" and "Set" variable options, I might be able to do a kind of hack to have a trigger "Create New" a variable based on how many variables my individual imported template might need.
So to borrow from other coding methods (ActionScript or JavaScript) it might be analogous to something like:
var MyVariable:Text = "My text variable "
I guess there is no harm in creating all the possible variables that "may" be required with the knowledge that some of the imported variables will remain empty, or their initial state, and unused.
Thanks anyway.
Related Content
- 3 months ago
- 3 months ago