Fixed Caps to Lowercase not working (the use of Subcategory didn't work for me so I switched to using .case)
Added the following:
In Pair mode you can leave empty the "... to this pair" side if it is identical with the top side (i.e. if copying from... T - o ... to ... T - e ... the second T can be omitted.) It works on both sides.
Caps to Sc now searches also for glyphs marked c2sc and copies them (useful for punctuation i.e. A? will be copied to a.sc - question.c2sc if the glyph question.c2sc exists)
Added the option "Punctuation to Small Caps". This copies regular punctuation to small caps (not c2sc punctuation).
Added "Default" as an option in the Numeral categories since without it you needed the defaults to be ln.
The Punctuation list is not manual any more; instead it automatically gets all glyphs from "Punctuation" and "Symbol" categories. This applies to both the checks in 3 as well as with the Numerals.
I had some issues and decided to add a (rough) debug report for what happens in Preset mode. It spits lists that can be used to check if things break. I prefer to run the script first on a copy of the file and then check for the result and this proved to be very helpful.
Fixed issue with script not running in Glyphs3.
Fixed issue with Caps to Small Caps not working.
Fixed Caps to Lowercase not working (the use of Subcategory didn't work for me so I switched to using .case)
Added the following:
In Pair mode you can leave empty the "... to this pair" side if it is identical with the top side (i.e. if copying from... T - o ... to ... T - e ... the second T can be omitted.) It works on both sides.
Caps to Sc now searches also for glyphs marked c2sc and copies them (useful for punctuation i.e. A? will be copied to a.sc - question.c2sc if the glyph question.c2sc exists)
Added the option "Punctuation to Small Caps". This copies regular punctuation to small caps (not c2sc punctuation).
Added "Default" as an option in the Numeral categories since without it you needed the defaults to be ln.
The Punctuation list is not manual any more; instead it automatically gets all glyphs from "Punctuation" and "Symbol" categories. This applies to both the checks in 3 as well as with the Numerals.
I had some issues and decided to add a (rough) debug report for what happens in Preset mode. It spits lists that can be used to check if things break. I prefer to run the script first on a copy of the file and then check for the result and this proved to be very helpful.