> 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-es/zen-studio/ganchos-de-url.md).

# Ganchos de URL

Los enlaces URL te permiten abrir Zen Studio y cargar automáticamente scripts en el compilador usando un enlace con un protocolo personalizado.

Esta función permite la integración directa de scripts GPC alojados en la web con Zen Studio.

### Cómo funciona

***

Los enlaces URL usan el `zenstudio://` protocolo para activar acciones específicas dentro de Zen Studio.

Después de que el script se cargue en el compilador, puedes compilar y programar el dispositivo como de costumbre.

### Comandos URL disponibles

***

#### 1. Abrir Zen Studio

```
zenstudio://
```

Inicia Zen Studio.

#### 2. Añadir script de la Biblioteca GPC al compilador

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

Carga el script especificado de la Biblioteca GPC (por ID) directamente en el compilador.

Reemplaza `12345` con el ID del script deseado.

#### 3. Añadir cualquier script GPC alojado en la web

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

Carga un `.gpc` archivo alojado públicamente directamente en el compilador.

El script debe ser accesible mediante una URL directa.

### Ejemplo

```
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-es/zen-studio/ganchos-de-url.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.
