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?
Windows 10 Enterprise
Copy link to clipboard
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
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!
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):