Skip to main content
Inspiring
August 17, 2023
Answered

Error loading FrameScript scripts when FrameMaker restarts

  • August 17, 2023
  • 1 reply
  • 445 views

Hi all, 

 

I'm having a problem with installed fsl scripts not re-loading in the FrameScript menu when FrameMaker restarts. The console message is "FrameScript: Error Processing Install Command ERRCODE(-2406)." Any guidance on this?

 

FrameMaker 16.0.0.754

FrameScript 7.0R1p25

Windows 10 Enterprise

 

    This topic has been closed for replies.
    Correct answer Anita G, Oregon

    SOLVED!

    Rick was kind enough to jump on a Zoom and show me how to create an initial script to run when FrameMaker starts (FrameScript > Options). The initial script includes commands to install each of my scripts in the menu. This worked like a charm! 

    1 reply

    frameexpert
    Community Expert
    Community Expert
    August 17, 2023

    Typically, it means that a script is missing or has been renamed. If you want to meet on zoom and I can probably troubleshoot it for you quickly. Please email me offlist: rick at frameexpert dot com

    Anita G, OregonAuthorCorrect answer
    Inspiring
    August 17, 2023

    SOLVED!

    Rick was kind enough to jump on a Zoom and show me how to create an initial script to run when FrameMaker starts (FrameScript > Options). The initial script includes commands to install each of my scripts in the menu. This worked like a charm! 

    frameexpert
    Community Expert
    Community Expert
    August 17, 2023

    For completeness, here is example code for an initial script that will install scripts when you start FrameMaker:

    Local sPath('');
    // Get the path to this InitialScript.fsl
    Run eSys.ExtractPathName FullPath(ThisScript) NewVar(sPath);
    
    // Assumes that all scripts are in the same folder as InitialScript.fsl.
    Install Script File(sPath+'SetRevRevdateAttributeValues.fsl') 
      Name('SetAttributeValues') Label('Set Rev and RevDate Attribute Values');
    

    Here is the FrameScript dialog box where you set the path to the Initial Script (FrameScript > Options):