Inserting a script condition in a existing list of condition for the user interface (updated)

Brian5757
29 Mar 2020, 02:25

Is there anyway of inserting a script condition into an existing script. for the user interface?
If you example I have condition 'A' then the result and I want to insert a condition before condition 'A'

for example from this:
if <condition A>
then <action>

To this:

If <condition B>
then if <condition A>
then <action>

The only way I can see to do this is to cut and paste where I'm cutting the current user interface script then adding the new script before pasting the old script but this can get messy.


mrangel
29 Mar 2020, 08:41

I don't think so. I'd suggest using the code editor for that. If you're not so sure about creating code, you could insert the 'condition B' as a separate 'if' block that doesn't do anything, then go into code view and move the line that's just a } down to where you want it.


Brian5757
30 Mar 2020, 04:47

Hi mrangel

Thanks for the suggestion.