2 Replies Latest reply on Jun 17, 2015 2:06 PM by keithstehlik

    Choose script from pulldown menu

    keithstehlik

      Title

      Choose script from pulldown menu

      Post

      Is it possible to create a pulldown menu of scripts and choosing one activates the script?

      Not sure where to start on something like this.

       

      Keith

        • 1. Re: Choose script from pulldown menu
          philmodjunk

          Set up a global field.

          Define a value list of script names and format the field with this value list.

          Use a script trigger to perform a "master script" with code similar to this:

          If [Globals::ScriptName = "ABC" ]
             Perform Script ["ABC"]
          Else If [ Globals::ScriptName = "DEF" ]
             Perform Script ["DEF"]
          and so forth...

          The script names put in the value list do not have to be exactly the same as the actual script names. You can even call the same script in several of the If - Else If sections but pass different script parameters to that script in order to produce different results.

          • 2. Re: Choose script from pulldown menu
            keithstehlik

            Thanks Phi! You always make this stuff so easy!

            Keith