Bold assignment doesn't work in Keynote

Hi Georg,

my script to export SC and Unicase fonts no longer works. I think it has to do with the fact that “SC” and “Unicase” are now part of the familyName custom parameter, whereas they were in the instance name before.

I tried this:

for thisInstance in Font.instances:
    if familyNamePart in thisInstance.familyName:
        ...

…but when I execute the script, nothing happens. Does the .familyName method only know about the font’s family name as given in the info dialog, or does it also know about familyName custom parameters for a given instance?

Alternatively, I could move the “SC” and “Unicase” back into the instance name, for which I have a working script solution. However, then I’d have to be able to overwrite those instance names with new ones (without the SC and Unicase labels) via a custom parameter upon export. Is there a custom parameter to set the instance name? instanceName doesn’t seem to be recognized.

If I print stuff in a Python script, where does the output go? That would be helpful for debugging.