code: function (sComponent, a, b, c, d) {
              log("factory.object.getcomponentversion: " + sComponent);
              var v = moduleversion;
  
              switch (sComponent.toLowerCase()) {
                  case "scriptx.factory":
                      v = emulatedVersion;
                      break;
  
                  case "scriptx.factory.services":
                      v = moduleversion;
                      break;
  
                  case "meadco.secmgr":
                      try {
                          v = module.secmgr.version;
                      } catch (e) { v = "0.0.0.0"; }
                      break;
  
                  case "meadco.triprint":
                      try {
                          v = MeadCo.ScriptX.Print.HTML.version;
                      } catch (e) { v = "0.0.0.0"; }
                      break;
              }
  
              v = v.split(".");
              a[0] = v[0];
              b[0] = v[1];
              c[0] = v[2];
              d[0] = v[3];
          }
docs: 'factory' functions /* GetComponentVersion is no longer documented . It is implemented as MeadCoScriptJS relies on it.
  
  Only ScriptX related ProgIds are supported.