1 Reply Latest reply on May 24, 2017 10:07 AM by Tom_Droz

    Is there a way to get the scriptmaster version number by script?

    Tom_Droz

      Seems like this should be easy but I don't see it on their website.  Anyone out there solve this?

       

      Thanks

      Tom

        • 1. Re: Is there a way to get the scriptmaster version number by script?
          Tom_Droz

          Got it

           

          Let (

            [

              PluginNamePosition = Position ( Get(InstalledFMPlugins);

            "ScriptMaster" ; 1 ; 1 );

              PluginVersionStart = PluginNamePosition + Length( "ScriptMaster")

            + 1;

             PluginVersionEnd = Position ( Get(InstalledFMPlugins); ";" ;

            PluginNamePosition ; 2 );

              PluginVersionLength = PluginVersionEnd - PluginVersionStart

            ];

           

            Middle ( Get(InstalledFMPlugins) ; PluginVersionStart ;

            PluginVersionLength )

          )

          1 of 1 people found this helpful