URL Scheme
Glyphs responds to the glyphsapp and glyphsapp3 URL schemes. glyphsapp works for any version of Glyphs; glyphsapp3 is specific to Glyphs 3.
This allows other applications and websites to open Glyphs.
Use the glyphsapp://show/ URL path to open files in Glyphs, adding a new tab with a list of specific glyph layers.
The URL accepts the following query parameters:
pathAn absolute file path.
glyphThe name of a glyph.
productionThe production name of a glyph.
layerThe ID of a glyph layer.
First, specify a file to be opened in Glyphs using path.
Then, specify a sequence of glyphs to be displayed in a newly added tab.
Use either the glyph or production parameters to select glyphs.
For each glyph, use the layer parameter to select specific layers.
Note that for master layers, the layer ID is the same as the master ID.
The layer parameter can be repeated multiple times per glyph.
If the parameter is never specified for a glyph, then the layer of the main master is used.
The path parameter can appear multiple times.
Each path opens a separate file with a custom list of glyph layers.
If some of the files are already open in Glyphs, then those files are not opened again; instead, only a new tab with the glyph layers is added.
For example, the following URL opens two files with three layers in the first and two layers in the second file (line breaks added for readability):
glyphsapp://show/
?path=%2FUsers%2FsomeUser%2FSomeFile.glyphs
&glyph=A
&layer=4D7C7F2F-B84D-4CED-A290-F3FFF64C7B4A
&layer=73D41BF5-8E45-43E6-AADB-7DAF606BDDB2
&glyph=B
&path=%2FUsers%2FsomeUser%2FOtherFile.glyphs
&glyph=Gbreve
&production=uni01F4