Bulk search and replace?
Moderators: Víctor Paredes, Belgarath, slowtiger
Bulk search and replace?
Does anyone know of any scripts or techniques for doing search and replace operations on multiple .moho files? (I know that if I'd defined all sorts of custom styles that would give me a head start at achieving this, but I don't typically use those!) I've gotten as far as renaming and unzipping .moho files to access the internal .mohoproj files which are plain text in JSON format, so in theory at least this certainly seems possible. But going further would require knowing the particulars of Moho's encoding syntax in order to perform bulk text modifications. Have any smart minds cracked this nut?
- hayasidist
- Posts: 3829
- Joined: Wed Feb 16, 2011 8:12 pm
- Location: Kent, England
Re: Bulk search and replace?
what exactly are you trying to find and replace? from your mention of styles, it sounds as though you might want to change a load of colours. If so you might find A.Evseeva's script useful: https://mohoscripts.com/script/ae_recolor
Re: Bulk search and replace?
I was actually looking to update line width, but I see that this tool handles this too. Exactly what I was looking for .. thank you very much!!
-
- Posts: 1
- Joined: Tue Nov 26, 2024 9:32 am
Re: Bulk search and replace?
It's true that A.Evseeva's script can be really useful for managing colors, but if you want to go further in customizing your projects, there are also resources that allow you to vary styles, textures and even 3D elements. I recently came across a site that offers a fairly varied palette of creations, ideal if you're looking to really transform the ambience of your work. I also think it would complement what you're looking to do.
My website here