> For the complete documentation index, see [llms.txt](https://docs.hidemyacc.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hidemyacc.com/6.5.-run-and-schedule-automation-scripts.md).

# 6.5. Run & schedule automation scripts

### ⚙️ Run test & Debug

After creating the script, click on the sort icon to automatically arrange the commands in the order you've created them. Then, click **"Run test"** to test the script.

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

Once the script has finished running, click **"Debug"** to check for errors.&#x20;

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

If there are no errors, you can give the script a name, attach tags (optional), and click **"Save"** to save the script.&#x20;

### ⚙️ Run automation scripts

Once created, a script is saved under Your Scripts. To run a saved script, follow these steps:

1. **Select Run** on the script.

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

2. **Select the profiles** you want to run the script on.

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

3. **Automation settings:** Here you configure several parameters before running the script on the selected profiles:

* *Number of profiles running simultaneously:* Maximum of 10 profiles.
* *Number of loops:* How many times the script will re-run on the selected profiles.
* *Profile run order:* 2 modes — run profiles sequentially from top to bottom, or randomly.
* *Mute audio:* Mutes sound on the opened website.
* *Don't display images:* Hides images on the opened website.
* *Maximum script run time:* The maximum runtime for one thread; if the script hasn't finished by then, the profile will still be closed.
* *Delay before opening a new process:* You can set the delay before the next profile opens.

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

4. **Click Run** to start running the script.

The Automation script will now run according to the settings you configured.

### ⚙️ Schedule automation script

This feature lets you schedule a time for a saved Automation script to run. To use it, go to Automation, select the **Schedule** icon, and click the **New schedule** button.

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

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

There are 3 sections to configure:

* **Script section:** Displays the Automation scripts you've created. You can choose a system script or one you built yourself. Each schedule can only include 1 script at a time.

<figure><img src="/files/2TPbJgY7wLTK3WWMLcCi" alt=""><figcaption></figcaption></figure>

* **Profile section:** Select the profiles you want to schedule the script to run on. You can search for profiles by name and folder here.

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

* **Settings section:**

  You can configure the number of profiles running simultaneously, the number of loops, and the profile run order (sequential from top to bottom, or random). You can also choose to mute audio or hide images for that profile while the Automation script runs. **Note: Hidemyacc limits this to 10 simultaneously running profiles.**

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

*Advanced settings:* You can configure the maximum script run time and the wait time between opening each profile (in seconds).

<figure><img src="/files/0BRdyvVg2j9wfkIHY0dH" alt=""><figcaption></figcaption></figure>

*Schedule settings:* Set a specific date and time.

* **Date format:** Month/Day/Year
* **Time format:** Hour:Minute:AM/PM

If you choose to repeat daily, the system will schedule the script and selected profiles to run every day. **Note: you must have the Automation feature screen open for the scheduled script to run.**

<figure><img src="/files/0Buu4midcFwVzdyIMX1L" alt=""><figcaption></figcaption></figure>

Finally, enter a name for the schedule and click Save. If you don't enter a name, the system will randomly generate one for you.

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

You can edit a saved automation schedule here. By clicking the three-dot icon, you can also choose to Duplicate or delete that automation schedule.

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