https://github.com/ricko2001/Genealogy-scripts
Richard Otter is a skilled, professional developer who is also a RootsMagic user and has been building a library of scripts that are worthwhile checking out for possible solutions for your own needs. He publishes them on GitGub, list of them screenshotted below 2023-05-19. Check for updates and fuller descriptions. He has posted notices of significant ones in the Forum and, hopefully, will continue to do so.

Thanks for the post.
I want to emphasize that some of the tools in the repo, like TestExternalFiles and SwitchSourceTemplate have been polished for general use, while others work in specific circumstances and don’t have much user documentation.
All of these tools met my specific needs. I’d be happy to help others adapt the scripts to their specific circumstances.
Leave a comment at the Discussion tab at github
https://github.com/ricko2001/Genealogy-scripts/discussions
One more thing-
I have another repo at github where I am trying to create a collection of Standard Forms used in my genealogical research,
It’s just a collection of text files. It may be of interest.
https://github.com/ricko2001/Standard-forms-for-genealogy
Just wanted to mention that I’ve created a minimalist web page as sort of a gateway to my stuff.
https://RichardOtter.github.io/