# Controlling external windows

Your application can interact with and control windows from other running applications on the system. This allows your app to manage external windows directly, creating workflows that coordinate multiple applications at once.

Using the external window controls, your application can perform actions such as **minimizing, maximizing, restoring, or repositioning windows**, as well as **setting their size and screen position** by updating their bounds.

These capabilities make it possible to build automation tools, window management systems, or productivity features that organize and control other applications from within your app.

<figure><img src="/files/rmWB5XH7K80NVdE1j9QM" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
View an example inside the sandbox editor:\
\
<https://bubble.io/page?id=deskifier-plugin-test&tab=Design&name=sandbox&type=page&elements=bTOwa>
{% endhint %}


---

# Agent Instructions: 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://deskifier.gitbook.io/deskifier/deskifier-bubble.io-docs/guides-and-examples/controlling-external-windows.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.
