[Framers] SaveBookAsMif.fsl sample framescript update

Craig Ede craigede at hotmail.com
Thu Aug 4 20:24:56 PDT 2016


Framers,


I just installed FrameScript v6 at work and am looking at the Sample scripts. The SaveBookAsMif.fsl defaults to saving as FM7.0 MIF if you are running anything other than FM10 and FM 11, which is not optimal.


I updated the block beginning at line 17 to:


   Set gvMifFormat=SaveFmtInterchange;
   If VersionMajor=8
      gvMifFormat=SaveFmtInterchange80;
   ElseIf VersionMajor=
      gvMifFormat=SaveFmtInterchange90;
   ElseIf VersionMajor=10
      gvMifFormat=SaveFmtInterchange100;
   ElseIf VersionMajor=11
      gvMifFormat=SaveFmtInterchange110
   ElseIf VersionMajor=12
      gvMifFormat=SaveFmtInterchange120;
   ElseIf VersionMajor=13
       gvMifFormat=SaveFmtInterchange130;
   EndIf


This now saves as the correct mif when the script is run on versions 8 and 12. Can someone verify that it works for v9 and v13 (2015)? I'm pretty sure 9 is correct. My copy of FM2015 is on anther machine that doesn't have FrameScript so I can't check it there.


Thanks in advance. I hope this hasn't been discussed previously.


Craig


More information about the Framers mailing list