> For the complete documentation index, see [llms.txt](https://guide.cronuszen.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.cronuszen.com/zen-de/zen-studio/url-hooks.md).

# URL-Hooks

URL-Hooks ermöglichen es Ihnen, Zen Studio zu öffnen und Skripte automatisch über einen benutzerdefinierten Protokoll-Link in den Compiler zu laden.

Diese Funktion ermöglicht die direkte Integration von webbasierten GPC-Skripten mit Zen Studio.

### So funktioniert es

***

URL-Hooks verwenden das `zenstudio://` Protokoll, um bestimmte Aktionen in Zen Studio auszulösen.

Nachdem das Skript in den Compiler geladen wurde, können Sie das Gerät wie gewohnt kompilieren und programmieren.

### Verfügbare URL-Befehle

***

#### 1. Zen Studio öffnen

```
zenstudio://
```

Startet Zen Studio.

#### 2. GPC-Bibliotheks-Skript zum Compiler hinzufügen

```
zenstudio://lib/script/?scripts=12345
```

Lädt das angegebene GPC-Bibliotheks-Skript (nach ID) direkt in den Compiler.

Ersetzen `12345` durch die gewünschte Skript-ID.

#### 3. Beliebiges webbasiertes GPC-Skript hinzufügen

```
zenstudio://www.example.com/myscript.gpc
```

Lädt eine öffentlich gehostete `.gpc` Datei direkt in den Compiler.

Das Skript muss über eine direkte URL zugänglich sein.

### Beispiel

```
zenstudio://www.mywebsite.com/myscript.gpc
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guide.cronuszen.com/zen-de/zen-studio/url-hooks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
