• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Error loading FrameScript scripts when FrameMaker restarts

Community Beginner ,
Aug 17, 2023 Aug 17, 2023

Copy link to clipboard

Copied

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

 

Views

141

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Community Expert , Aug 17, 2023 Aug 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

Votes

Translate

Translate
Community Beginner , Aug 17, 2023 Aug 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! 

Votes

Translate

Translate
Community Expert ,
Aug 17, 2023 Aug 17, 2023

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 17, 2023 Aug 17, 2023

Copy link to clipboard

Copied

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! 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 17, 2023 Aug 17, 2023

Copy link to clipboard

Copied

LATEST

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):

 

image.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines