macros:example:copymacrobyid
This is an old revision of the document!
Table of Contents
Example
Copy Macro by MacroId
by: | Gregory Haynes, August 2018 |
---|---|
published: | ./. |
description: | copy a macro, identifying it by its macroId. |
remarks: | Best used together with setup/initialize macros, e.g. Create Workspaces |
functions
affected properties
control structures
- anyspecials?
Code
- copyMacroById.xml
<?xml version="1.0" encoding="utf-8"?> <avolites.macros> <macro id="Avolites.Macros.CopyMacroById" name="Copy Macro Snap to Fixtures #1"> <description></description> <sequence> <step>Playbacks.Editor.Macros.SetTargetHandle("Avolites.Macros.SnapForward")</step> <step>ActionScript.SetProperty.Enum("Handles.OperationMode", "move")</step> <step>Handles.SetSourceHandleFromHandle(Playbacks.Editor.Macros.Target.Handle)</step> <step>Handles.CopyDestination("Fixtures", 0)</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
You could leave a comment if you were logged in.
macros/example/copymacrobyid.1536481417.txt.gz · Last modified: 2018/09/09 08:23 (external edit)