Please use the Glyphs-Python from the Plugin Manager (restart the app and select it preferences > Addons and restart again).
Or this: Scripts not working "Glyphs is not defined" - #5 by GeorgSeifert
Please use the Glyphs-Python from the Plugin Manager (restart the app and select it preferences > Addons and restart again).
Or this: Scripts not working "Glyphs is not defined" - #5 by GeorgSeifert