User Tools

Site Tools


macros:example:deleteplayback

This is an old revision of the document!


Example

Delete Playback

by: Lucas Wx, April 2018
published: https://www.facebook.com/groups/Avolites/permalink/1215020168630215/
description: Deletes a playback.

functions

Code

<?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="" name="" >
    <sequence>
      <step pause="0.01">Handles.SetSourceHandleFromHandle(Handles.GetHandle("Playbacks",x,x))</step>
      <step pause="0.01">Handles.ConfirmDelete()</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

  • Handles.SetSourceHandleFromHandle(Handles.GetHandle(“Playbacks”,x,x)) points Handles.SourceHandle to a particular playback
  • Handles.ConfirmDelete() deletes this handle

How to use it

You could leave a comment if you were logged in.
macros/example/deleteplayback.1537100269.txt.gz · Last modified: 2018/09/16 12:17 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki