### 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:

`path`

An absolute file path.

`glyph`

The name of a glyph.

`production`

The production name of a glyph.

`layer`

The 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=
	&glyph=A
	&layer=4D7C7F2F-B84D-4CED-A290-F3FFF64C7B4A
	&layer=73D41BF5-8E45-43E6-AADB-7DAF606BDDB2
	&glyph=B
	&path=
	&glyph=Gbreve
	&production=uni01F4
```