AnsweredAssumed Answered

Launching a script based on a variable.

Question asked by user28271 on Mar 20, 2017
Latest reply on Mar 21, 2017 by monkeybreadsoftware

I want to write a script that launches another script based on a set variable.


I wrote a long script with nested if statements: If $name = name perform this script, but I would prefer a more elegant approach: Perform Script = $variable.  This will allow me to add infinite script option with a single line.


Any thought?


If you want to know more about why I will be happy to share.  So far it is working great, my clients love it, but they keep adding more options and the nested script if becoming a pain to maintain.