Supress dialogs while opening glyphs file by script

Hi guys,
is there a possibility to suppress dialogs (version, components, plugins…) while opening glyphs file by script. I’m writing a export script for client and opening few files makes quite a mess on the screen.

Thx. Jan

Try the following:

Glyphs.openDocumentWithContentsOfFile_display_(font_file_path, False)

This opens the file without a UI.

Can ihr show the code that opens the fonts?
You could also use:

font = GSFont("path/to/file.glyphs")
1 Like

That’s very elegant.

Thx. a lot, flawless!