<?xml version="1.0" encoding="utf-8"?>
<avolites.macros xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Avolites.Menus.xsd">
  <!-- Macro to select all running shapes. Gregory Haynes 02/01/2019 -->
  <macro id="Avolites.Macros.SelectAllShapes" name="Select All Shapes">
    <description>Select all running shapes both from playbacks and in the programmer so the properties can be edited on the wheels.</description>
    <sequence>
      <!-- Get all the running shapes -->
      <step>Editor.Shapes.ConnectShapesList()</step>
      <!-- Select all the shapes returned by the previous call -->
      <step condition="!Editor.Shapes.ProgrammerShapes.Empty">Editor.Shapes.SelectAllShapes()</step>
      <!-- Set that playbacks could be being edited -->
      <step condition="!Editor.Shapes.EditShapesEmpty">ActionScript.SetProperty.Boolean("Editor.Shapes.EditingPlaybackShapes", true)</step>
    </sequence>
  </macro>
</avolites.macros>