Switch between editing mode and text preview

Hi,
how to switch between editing mode or text preview for any glyph?

Thanks

You can press the space bar. Or do you mean something else?

Iā€™m using ESC and space
but I need to use script instead

You would need to activate an editing tool or the text tool, respectively.

Thank you @mekkablue

to active editing mode

Glyphs.font.tool = 'GlyphsToolDraw' 

to active text mode

Glyphs.font.tool = 'GlyphsToolText' 
1 Like