License: This is licensed for non-commercial use only.
Rem2Grey recursively converts all your REM files
to Greyscale giving you the option to add a red X
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.
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?