User Tools

Site Tools


macros:example:setallshapesdirection

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
macros:example:setallshapesdirection [2021/07/22 13:38] icke_siegenmacros:example:setallshapesdirection [2026/02/02 11:44] (current) – [Code] icke_siegen
Line 18: Line 18:
   * [[:macros:function:UserMacros.RecallMacroById]]   * [[:macros:function:UserMacros.RecallMacroById]]
   * [[:macros:function:Editor.Shapes.SetCurrentShapesDirection]]   * [[:macros:function:Editor.Shapes.SetCurrentShapesDirection]]
 +  * [[:macros:function:Editor.Shapes.EditShapesEmpty]] (from v17 on)
  
 ==== affected properties ==== ==== affected properties ====
   * [[:macros:property:Editor.Shapes.ProgrammerShapes.Empty]]   * [[:macros:property:Editor.Shapes.ProgrammerShapes.Empty]]
-  * [[:macros:property:Editor.Shapes.EditShapesEmpty]]+  * [[:macros:property:Editor.Shapes.EditShapesEmpty]] (only before Titan v17)
   * [[:macros:property:Editor.Shapes.EditingPlaybackShapes]]   * [[:macros:property:Editor.Shapes.EditingPlaybackShapes]]
  
Line 30: Line 31:
   * [[macros:syntax:referingmacros|refering macros]]   * [[macros:syntax:referingmacros|refering macros]]
  
-The file with all macros for all possible directions is available {{ :macros:example:allshapesdirection.xml |here as allshapesdirection.xml}}.+The file with all macros for all possible directions is available {{ macros:example:allshapesdirection.xml |here as allshapesdirection.xml}}. 
 + 
 +Please note that, as there were changes in Titan v17 which affect these macros, there is another file for Titan versions up to v16: {{ macros:example:allshapesdirection_v16.xml}}.
    
 ===== Code ===== ===== Code =====
Line 36: Line 39:
 <?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
 <avolites.macros> <avolites.macros>
 +
 +<!-- please note there are changes in SelectAllShapes from v17 on -->
  
   <macro id="Wiki.Macros.SelectAllShapes" name="Select All Shapes">   <macro id="Wiki.Macros.SelectAllShapes" name="Select All Shapes">
Line 41: Line 46:
       <step>Editor.Shapes.ConnectShapesList()</step>       <step>Editor.Shapes.ConnectShapesList()</step>
       <step condition="!Editor.Shapes.ProgrammerShapes.Empty">Editor.Shapes.SelectAllShapes()</step>       <step condition="!Editor.Shapes.ProgrammerShapes.Empty">Editor.Shapes.SelectAllShapes()</step>
-      <step condition="!Editor.Shapes.EditShapesEmpty">ActionScript.SetProperty.Boolean("Editor.Shapes.EditingPlaybackShapes", true)</step>+      <step condition="!Editor.Shapes.EditShapesEmpty()">ActionScript.SetProperty.Boolean("Editor.Shapes.EditingPlaybackShapes", true)</step>
     </sequence>     </sequence>
   </macro>   </macro>
macros/example/setallshapesdirection.1626961089.txt.gz · Last modified: 2021/07/22 13:38 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki