Hi! I’m trying to get state of menu:
index = Glyphs.menu[ VIEW_MENU ].submenu().indexOfItemWithTitle_(’ some title ’)
print( Glyphs.menu[ VIEW_MENU ].submenu().itemAtIndex_( index ).state() )
And noticed that it doesn’t always update the state of plugins (works perfectly for built-in menus, but not so much for plugins). So I’m wondering is there a more reliable way to check the menu state of the reporter plugin (the one from which I’m calling it)?