> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.xsplit.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Switching Scenes Automatically

XSplit Broadcaster's Macros Extension can help cut the number of clicks you need to do to execute a rather mundane action during your presentation, such as scene switching. This improves the overall quality of your presentation as you get to focus on what really matters--your content.

---

In this guide, we'll learn how Macros can be used to automatically switch from one scene to the next.  


1. Make sure your scenes are ready.

2. Go to **Extensions > Macros**. The Macros window should appear.

![Selecting Macros under the Extensions Menu in XSplit Broadcaster](https://storage.crisp.chat/users/helpdesk/website/567507547fcdcc00/002_kvao7i.png)

3. Click the **+ icon** to add a new macro.

![Clicking the + icon on an empty Macros window adds a new one](https://storage.crisp.chat/users/helpdesk/website/567507547fcdcc00/003_1p1rmlv.gif)

| If you already have other macros, you can instead click the **+ icon** at the top-left portion of the window to add a new one.

4. Choose and select **On key down** under **Event**. A new entry field should appear just below it.

![Selecting "On key down" as an event in XSplit Broadcaster's Macros](https://storage.crisp.chat/users/helpdesk/website/567507547fcdcc00/004_3bge6i.gif)

5. Click the entry field once, then type in your **preferred key combination** or **mouse click**. In this guide we'll use **CTRL+DOWN** as an example.

![Using CTRL + Down Arrow as the key down trigger for the Macro](https://storage.crisp.chat/users/helpdesk/website/567507547fcdcc00/005_mii0t4.gif)

6. Under **Action**, select **Switch to scene** in the drop down menu. The **Select scene** dropdown menu should appear below it.

7. Select the **first scene** you want to the macro to switch to. In this guide we'll use **Scene 1**.

![Switch to Scene > Scene 1 Macro Action](https://storage.crisp.chat/users/helpdesk/website/567507547fcdcc00/switch-to-scene-1_360ca6.png)

| Although not required, it's a good practice to start your macros with a key press, especially when you have multiple macro events at your disposal. 

8.  Click **Add action**. This creates a new one within the same event.

![Clicking on Add Action creates a new Action field within the same Event in Macros](https://storage.crisp.chat/users/helpdesk/website/567507547fcdcc00/add-action_fmccnb.gif)

9. Choose and select **Wait**, then set the **time (in milliseconds)** to your preferred value. In this guide we'll use **10000 ms** (10 seconds). This is the amount of time it will take for the first scene to run before you switch to the next.

![Wait action with a wait value of 10000ms or 10 seconds](https://storage.crisp.chat/users/helpdesk/website/567507547fcdcc00/wait-10000_wp31cx.png)

|| It's recommended to set the wait action value depending on the playback duration of the source in the first scene to avoid premature switching of scenes.

---

10. Click **Add action** again.

11. Under **Action**, select **Switch to scene** in the drop down menu. The **Select scene** dropdown menu should appear below it.

12. Select the **second scene** you want to the macro to switch to. In this guide we'll use **Scene 2**.

![Switch to Scene > Scene 2 Macro Action](https://storage.crisp.chat/users/helpdesk/website/567507547fcdcc00/switch-to-scene-2_1cf301l.png)

| Repeat steps **8 to 12** if you want to extend your automatic scene switching event to more than 2 scenes.

Your Macros should look like this:

![Overview of how Automatic Scene Switching Macro should look like](https://storage.crisp.chat/users/helpdesk/website/567507547fcdcc00/switch-scene-macros-overview_7vopmb.png)

| OPTIONAL: Don't forget to rename your Macro by clicking the **Pencil icon** at the top.

13. Check **Enable event listener** to activate the macro.

![Checking Enable event listener to activate the Macro](https://storage.crisp.chat/users/helpdesk/website/567507547fcdcc00/event-listener-multi_le281v.png)

14. To ensure everything is working, it's best to use the **Test button** located at the upper right corner of the Macros extension window. Close the window when done.

![Clicking the Test button at the upper-right corner of the Macros extension window](https://storage.crisp.chat/users/helpdesk/website/567507547fcdcc00/test-button_12eftjf.png)

---

That's it! Go back to the XSplit Broadcaster main program window then press your assigned key to start the simultaneous streaming process.





