Glyphs Message reversed

According to the docu, the order of the parameters is like this:
Message(title, message, OKButton=None)

I figured, that the output is reversed in 1140, though. What I write into the position of the message will be shown as a title, and vice versa.

I call the parameters by their names now Message(title="Blabla Title", message="My super cool and pretty long message.", OKButton=None)

But I still wanted to let you know. I expect all Messages from scripts that don’t use the explicit parameters will be slightly messed up.

I made that change on purpose (but didn’t manage to update the docu) to make it compatible with roboFab.

1 Like

I updated the TextMate/SublimeText snippets accordingly, in the Python for Glyphs repo.

1 Like