User Tools

Site Tools


macros:example:deleteworkspace

Differences

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

Link to this comparison view

Next revision
Previous revision
macros:example:deleteworkspace [2018/06/12 11:56] – created icke_siegenmacros:example:deleteworkspace [2018/08/26 11:19] (current) – external edit 127.0.0.1
Line 7: Line 7:
 ^ description: | deletes a designated workspace | ^ description: | deletes a designated workspace |
  
-{{tag>[delete workspace handle]}}+{{tag>delete workspace handle}}
  
 ==== functions ==== ==== functions ====
-  * [[:macros:function:someusedfunction]] +  * [[:macros:function:ActionScript.SetProperty.Boolean]] 
-  * [[:macros:function:anotherusedfunction]]+  * [[:macros:function:Handles.SetSourceHandle]] 
 +  * [[:macros:function:Handles.ConfirmDelete]]
  
 ==== affected properties ==== ==== affected properties ====
-  * [[:macros:property:someproperty]] +  * [[:macros:property:Handles.AllowEditWorkspaces]]
-  * [[:macros:property:anotherusedproperty]] +
- +
-==== control structures ==== +
-  * anyspecials?+
    
 ===== Code ===== ===== Code =====
Line 40: Line 37:
  
 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]] 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]]
 +  * ''ActionScript.SetProperty.Boolean("Handles.AllowEditWorkspaces", true)'' unlocks the workspaces to be edited/deleted
 +  * ''Handles.SetSourceHandle("Workspaces", 2)'' marks the workspace #3 as sourHandle for the next operation
 +  * ''Handles.ConfirmDelete()'' deletes the previously selected handle (the workspace #3)
 +  * ''ActionScript.SetProperty.Boolean("Handles.AllowEditWorkspaces", false)'' locks the workspaces from being edited/deleted
  
-tbd 
  
 ===== How to use it ===== ===== How to use it =====
  
-  [[:macros:deploying|make this macro available]] +  [[:macros:deploying|make this macro available]] 
- +  * while it may be interesting to delete a workspace by individual macro, a good use case is shown in [[macros:example:createworkspaces|]]
-tbd +
  
 ~~DISCUSSION~~ ~~DISCUSSION~~
macros/example/deleteworkspace.1528804617.txt.gz · Last modified: 2018/06/12 11:56 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki