# FAQ and Examples

## FAQ

<details>

<summary>Can anyone access a script I've created?</summary>

Currently, all Scripts are accessible to all users, as long as they have permission to all the data within them.

If a script contains a Violet Variable linked to data that a user does not have access to, they will also **not have access to that script.**&#x20;

We are working to implement a more tailored and comprehensive permissions model for Scripts - stay tuned!

</details>

<details>

<summary>Why are my runs slow?</summary>

Running a script after a period of inactivity may take more time than usual. If your Scripts feature is starting to be heavily used by your team and seems to be running slower than expected, please reach out to us.

</details>

## Examples

Check out these examples of how to run scripts:

* [Calculate a satellite’s orbital period based on input altitude, and write the output to a Violet parameter](https://www.loom.com/share/048ef85184d246188120b7163a6270aa)
* [Vary aircraft parameters and observe the effect on calculated mission duration](https://www.loom.com/share/39c10e9ec9124747bdacd8e0597f88f5?sid=57f6f2eb-bfce-4330-8123-54d2272e59d1)
* [Calculate satellite link budget, vary component technical specifications and observe the effect on SNR](https://www.loom.com/share/ad9c107ffc8e4ee2a3b76081fdd31bdc?sid=33e0078a-c031-4841-acb5-eefa8f132c31)


---

# 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.violetlabs.com/features/scripts/faq-and-examples.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.
