Chris, many thanks for this excellent script.
I used it in this macro by @DanThomas that I enhanced :
MACRO: Toggle Between Macros and Maintain Scroll Position VER 1.1
2018-07-27 14:19 GMT-5
- This macro is no longer necessary
- The KM Editor has been revised to automatically maintain scroll position.