Table of Contents

Example

Delete Workspace X

by: Sebastian Beutel
published: June 2018
description: deletes a designated workspace

functions

affected properties

Code

DeleteWorkspace.xml
<?xml version="1.0" encoding="utf-8"?>
<avolites.macros xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Avolites.Menus.xsd">
<macro id="UserMacro.sb_delWs2">
  <name>sb delete ws 2</name>
  <sequence>
    <step pause="0.001">ActionScript.SetProperty.Boolean("Handles.AllowEditWorkspaces", true)</step>
    <step pause="0.001">Handles.SetSourceHandle("Workspaces", 2)</step>
    <step pause="0.001">Handles.ConfirmDelete()</step>
    <step pause="0.001">ActionScript.SetProperty.Boolean("Handles.AllowEditWorkspaces", false)</step>
  </sequence>
</macro>
</avolites.macros>

Explanation

This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax

How to use it