Forum Discussion

cklein_1's avatar
cklein_1
Occasional Contributor
14 years ago

Script Extension Dialog Box

I've created my js file, description xml file and tcx file. I've made sure TC is pointing to the right directory to look for the Script Extensions. However, when I go to File | Install Script Extensions I'm not seeing my new extensions. Am I missing somthing?



Thanks,

Chris

11 Replies

  • sachinjadhav_12's avatar
    sachinjadhav_12
    Occasional Contributor
    Hi Robert



    Thanks a lot for the fix.



    btw, I have also found the script to fix the extension. I have posted the code, incase if someone needs.



    **************************************************************************


    Sub PackExtension

      Dim SrcFolder, SrcFiles, ExtensionFileName





      ' The folder that contains the extension's source files:

      SrcFolder = "C:\MyExtensionFiles\"

      ' The list of the extension's source files:

      SrcFiles = Array ("script.js", "MyForm.aqfrm", "description.xml", "MyExtension.chm")

      ' The fully-qualified name of the resulting .tcx file:

      ExtensionFileName = SrcFolder & "MyExtension.tcx"





      Call slPacker.Pack(Join(SrcFiles, vbNewLine), SrcFolder, ExtensionFileName)

    EndSub