Example
by: | Sebastian Beutel |
---|---|
published: | November 2018 |
description: | deletes a designated group |
<?xml version="1.0" encoding="utf-8"?> <avolites.macros> <macro id="SB.DeleteGroupUn20" name="Delete Group 20"> <sequence> <step>Handles.SetSourceHandleFromHandle("groupHandleUN=20")</step> <step>Handles.ConfirmDelete()</step> </sequence> </macro> </avolites.macros>
This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax
Handles.SetSourceHandleFromHandle(“groupHandleUN=20”)
marks the group with usernumber 20 as sourceHandle for the next operationHandles.ConfirmDelete()
deletes the previously selected handle (the group UN20)