REM2Greyscale ( read description ) by structure ()
3D Figure Essentials 63 downloads Sponsor:
License: This is licensed for non-commercial use only.
Product Notes
Rem2Grey recursively converts all your REM files
to Greyscale giving you the option to add a red X
overlay.
Rem2Grey creates a dated log file when an error is
encountered ( this is usually when access to
files is denied ) which you can choose to
save to a file, display on screen or ignore.
Rem2Grey remembers the last folder you used.
Rem2Grey creates a backup of every thumbnail it
converts ( to enable restoration ) - since some PNG
files can be malformed and will not convert
correctly using PIL.
Best Selling Marketplace Items by This Vendor
Freestuff Comments

MaNae () 12:43AM | Tue, 26 May 2020
Yep, that works fine. Thank you very much! =)

structure () 11:55PM | Mon, 25 May 2020
you would need to edit this line
regex = re.compile(r"\brem\b", re.IGNORECASE)
the \b means that no character precedes or succeeds the word rem
you could make a dictionary or a list to loop through to cover all the variations that you have in mind
something like
remtypes = [ "\brem\b","-rem","_rem"]
for rt in remtypes:
regex = re.compile(r""+rt, re.IGNORECASE)

MaNae () 10:47PM | Mon, 25 May 2020
Thank you!.. works nice so far (P10).
The filenames must not have any character before the "REM"-part, right? Could this script be adapted in any way to get it working with 'prefixed' files ("_REM" or "-REM"))as well?