Example ====== Delete Playback ====== ^ by: | Lucas Wx, April 2018 | ^ published: | https://www.facebook.com/groups/Avolites/permalink/1215020168630215/ | ^ description: | Deletes a playback. | {{tag>delete playback}} ==== functions ==== * [[:macros:function:Handles.SetSourceHandleFromHandle]] * [[:macros:function:Handles.GetHandle]] * [[:macros:function:Handles.ConfirmDelete]] ===== Code ===== Handles.SetSourceHandleFromHandle(Handles.GetHandle("Playbacks",x,x)) Handles.ConfirmDelete() ===== Explanation ===== This explains the functional steps within the sequence. For all the other XML details please refer to [[:macros:formats_and_syntax#xml_format|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 ===== * [[:macros:deploying|make this macro available]] * this is not fully functional - you need to define the exact handle ~~DISCUSSION~~