User Tools

Site Tools


macros:example:deleteworkspace

This is an old revision of the document!


Example

Delete Workspace X

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

functions

affected properties

control structures

  • anyspecials?

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

tbd

How to use it

Discussion

kimwida, 2018/06/12 13:05

How to delete 3rd slot of Playbackwindow (Got hint from Delete Workspace X)

  <step pause="0.001">Handles.SetSourceHandle("PlaybackWindow", 2)</step>
  <step pause="0.001">Handles.ConfirmDelete()</step>
You could leave a comment if you were logged in.
macros/example/deleteworkspace.1528804617.txt.gz · Last modified: 2018/06/12 11:56 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki