[Main topics] [Navigation]

FMjsxLib - Script library for FrameMaker

During the development of my ExtendScript projects since about 2015 a number of ancillary function accumulated. Many of those were used in later projects also. I found it practical to collect them in a library. For most functions I have also collected the test file as demos.

How to use the scripts from the library

The scripts are intended as building blocks of an application script. While they fit together in this library, you may need to modify them to your needs.
At least the name of the global object KLD_Z must be modified to your initials and the project character, for example to MOJ_B. You may wish to consult the complete documentation before you consider an installation.

Installation

Note: All software from D+DD is Donationware - if you find it helpful for your work, think about supporting also my work.

  1. Download the script file
  2. FM version Date Version Installation file(s) Latest changes
    10 and higher 2021-09-06 1.0 Inst-FMjsxLib.zip First issue of FMjsxLib
    2022-02-16 1.1
    • Updated, corrected: CollectMarkers, DisplayObject, CollectTablesInBody (UserString handling), CollectFramesInDoc (UserString handling).
    • New: ActiveTab, ApplyDefaultCharFmt, ComposeMsg, CreateUserString, ModifyMarker, ReadUserString, ReplaceInString, SearchInString, WriteUserString,
    • Documentation extended.
    2022-03-17 1.2
    • Corrected: FindAndReplaceString
    • New: ApplyMasterPages, CnvBookToStruct, CnvDocToStruct, ExistFile, ExistFolder, GenerateConversionTable, GetBookErrorLogDoc, ListBookFiles, OptimisePDFsize, Publishing, SortTable, UpdateConversionTable, ValidateDoc, WriteBookErrorLog
    • Documentation Chapter added "Automation with ExtendScript' (by Rick Quatro).
    2022-06-20 1.3
    • Corrected: ExecuteFCodes, Ungroup
    • Renamed: GetText → GetTheText
    • Updated: ApplyCharFmt, ApplyPgfFmt, GetFindParameters (constants replaced by mnemonics → required updates for FindXxx functions), CollectFramesInBody, CollectMarkers, CollectTablesInBody, FindAndReplacePara, FindAndReplaceString, FindSomething, FollowXRef, GetIndexNearestVariable, GetTRafterTAB
    • New: ApplyObjectStyle, ApplyTblFmt, InsertGroupTitles, IsGroupableObject, UnformatClipboard
    • New demo: FindSomething
    • Documentation Chapter added "Table of FrameMaker commands"
    2022-12-20 1.4
    • Corrected: DeleteArrayItem, SearchInString, SwitchUIlanguageX
    • Updated: StandardSound
    • New: GetClonedCase, ListSelector
    • New demo: some
    • Documentation updated
    2023-03-31 1,5
    • Updated: SaveDocToMif, SaveDocToPdf
    • New: IsTextInset, SaveDocToMif7, SaveDocToOldFM
    • New demo: some
    • Documentation updated
    2023-05-11 1.6
    • Corrected: ApplyCharFmt
    • Updated: -
    • New: CharFmtBLshift, DefineAltImgData, ImportDoc, MoveToBackOrFront
    • New demo: GetXMLdata, UI-PositionAbsolute, UI-QuickAccessKeys
    • Documentation: Chapter XML reworked
    2023-08-07 1.7
    • Removed: OpenHelpFile
    • Updated: Chapter XML; docu for FindOverflowText, ExecuteWinCmd
    • Renamed: RemoveEmptyPages ► RemoveTrailingEmptyPages
    • New: Executing console application, FindDisconnectedPages, GetPDFinfo, ImportPDFpages
    • New demo: FindDisconnectedPages, GetPDFinfo, ImportPDFpages, ReadingXML
      2024-01-02 1.8  
    • Updated: PadWith0
    • New: DateAddDays, GetDateTime
    • New demo: FindOverrides, DateAddDays, GetDateTime
    • Documentation: many amendments
  3. Before installing a new (updated) version, uninstall the current version
  4. Expand the ZIP to any location, typically to the desktop. You get a file and a directory.
  5. Execute the file Inst-FMjsxLib.exe
    The language of the installation dialogues adapts to the UI language of your current FM installation (de, en, fr):
    UI of FMjsxLib

  6. Define the location for the library in the enty field. You may use the Browse button to navigate your system.
  7. With Install the files will be copied to the defined location, subdirectory FMjsLib.
  8. A message indicates the end of the installation.
  9. The library ...\FMjsLib also provides the following information:.
    - Documentation FMjsxLib.pdf.
    - Current version of the library in config.ini at appVersion

Uninstall the library

Just remove the subdirectory FMjsLib from your system.

Caveat

Any software from D+DD is provided by the author and contributor "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed.

[Main topics] [Navigation]
 URL:  Created: 2021-09-15  Updated:
© Docu+Design Daube, Zürich    
  Business of Docu + Design Daube Documentation issues Sharing information Klaus Daube's personal opinions Guests on this site Home of Docu + Design Daube To main page in this category To first page in series To previous page in series To next page in series To bottom of page To top of page Search this site Site map Mail to webmaster