Synchronise scrolling on all open FM-docs
To compare documents (e.g. translations of the same contents) it is necessary to to advence view in them synchronised.
In many cases it is sufficient to scroll screen page by screen page, but in other cases it wis neccessary to scroll paragraph by paragraph - e.g. to recognise insertions/deletions better.
These scripts can synchronise the scrolling of all open documents, using two different sync methods:
- SyncScrollByPara syncronise paragraph by paragraph
- SyncScrollByScreen synchonise by the screen height
The idea to for these scripts come from a post by Yatani in the Adobe FrameMaker Forum.
Installation
Note: All software from D+DD is Donationware - if you find it helpful for your work, think about supporting also my work.
- Download the script file
- UnZip the file to the desktop (you get two
jsx
files). - Copy or move the files into the
My Documents\Adobe Scripts\
- After the start of FrameMaker you can add them to the script catalogue by menu File > Scripts ... > Script Catalogue (Script Library) as Favourite: use the Add button and navigate to
My Documents\Adobe Scripts\
- You may now use the scripts as described hereafter.
- The script UI adapts to the system language (not the FM UI language).
FM version | Date | Version | Installation file(s) | Latest changes |
---|---|---|---|---|
10 and higher | 2023-08-28 | 1.00 | FMSyncScrolling.zip | First issue of the scripts |
Use the script
- Open all documents in which you want to synchronise scrolling.
- In all document place the cursor at an initial position.
- Run the appropriate synchronisation script: SyncScrollByPara or SyncScrollByScreen
- You get a small palette:
or
- On each scroll action (click below/above the scroller etc.) the active position in all documents is moved.
- Especially for a number (> 2) of open documents: do not click/scroll the mouse too fast for multiple scroll actions!
Example use of SyncScrollByPara
This function moves the insertion point. Hence you can immediate work on the target location.
(The command used in this function is "IPToNextParaStart" or "IPToPrevParaStart".)
- All documents are open and the cursor is in the first line in all of them (black circle).
- Click 3 times below the scroller in the Sync palette.
- The resulting post ion of the cursor is indicated by the red circle.
Example use of SyncScrollByScreen
Be aware that this function does not move the insertion point! To work on a target page you first need to click into the document to place the cursor!
(The command used in this function is "GotoNextScreen" or "GotoPreviousScreen".)
- All documents are open and the cursor is in the first line in all of them (see black circle in above screen shots).
- Click 3 times below the scroller in the Sync palette.
- Although the view has advanced 3 screens full, the cursor is not placed at a new location!
Un-install the script
Just remove the scripts from Startup folder of FM.
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.