# Run a Script

When you have [robot control](/robot/robot-toolbar/control-the-robot.md), you can execute a robot script with the ![](/files/JuwVDf0ClZ6gTL7QGVpL)**Run On Robot** action.

Select the script you want to execute and click on![](/files/JuwVDf0ClZ6gTL7QGVpL)**Run On Robot** from the [robot tool bar](/robot/robot-toolbar.md).

&#x20;<img src="/files/wRrVkNBOhWBwfbKQR1sb" alt="" data-size="line"> Warning! this command will execute a robot motion.

{% hint style="info" %}
A script is selected when its name is highlighted with blue underscore.

![](/files/xQFJgwBz3NyozaCL9GIc)
{% endhint %}

You can use the robot tool bar also to ![](/files/ijJC3yXH7SPJB8vPTP4q) **Pause**, ![](/files/JuwVDf0ClZ6gTL7QGVpL) **Resume** and ![](/files/TmpE2aBf3eRrPUgSJFkU) **Stop** the running script.

{% tabs %}
{% tab title="Universal Robots" %}
{% embed url="<https://youtu.be/B3sZ_q9Vtqk>" %}

{% endtab %}

{% tab title="Doosan Robotics" %}
{% embed url="<https://youtu.be/yj9hL7sBQps>" %}
{% endtab %}
{% endtabs %}

{% hint style="info" %}
In order to run a program correctly check that [S](/synchronization/synchronization-settings.md)[ynchronization Settings](/synchronization/synchronization-settings.md) are configured accordingly with your robot specification.
{% 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://docs.robpod.cloud/robot/robot-toolbar/run-a-script.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.
