User Tools

Site Tools


macros:function:workspace.record

Differences

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

Link to this comparison view

Next revision
Previous revision
macros:function:workspace.record [2018/08/21 16:46] – created sideshowbondmacros:function:workspace.record [2018/08/24 15:41] (current) – ↷ Links adapted because of a move operation 62.138.0.25
Line 8: Line 8:
 ^ description | Records a Workspace | ^ description | Records a Workspace |
 ^ [[macros:namespace|namespace]] | [[macros:namespace:workspace]] | ^ [[macros:namespace|namespace]] | [[macros:namespace:workspace]] |
-^ parameter | handle ( [[macros:type:Handle]] ) : The handle |+^ parameter | handle ( [[macros:identifier:Handle]] ) : The handle |
 ^ ::: | name ( [[macros:type:String]] ) : The name | ^ ::: | name ( [[macros:type:String]] ) : The name |
-^ ::: | icon ( [[macros:type:object:Int32]] ) : The icon |+^ ::: | icon ( [[macros:type:int32]] ) : The icon |
 ^ ::: | visibleOnly ( [[macros:type:Boolean]] ) : if set to true, only record the visible windows | ^ ::: | visibleOnly ( [[macros:type:Boolean]] ) : if set to true, only record the visible windows |
 ^ ::: | removeOthers ( [[macros:type:Boolean]] ) :  if set to true remove others windows when this workspace is recalled | ^ ::: | removeOthers ( [[macros:type:Boolean]] ) :  if set to true remove others windows when this workspace is recalled |
Line 16: Line 16:
  
 == Example in ==  == Example in == 
-[[macros:example:workspacecreation]]: +[[macros:example:createworkspaces]]: 
  
 <code xml> <code xml>
   <step>Workspace.Record(Handles.CreateHandleReference("Workspaces", 0, 0), "Playbacks", 0, true, false)</step>   <step>Workspace.Record(Handles.CreateHandleReference("Workspaces", 0, 0), "Playbacks", 0, true, false)</step>
 </code> </code>
 +
 +This creates a workspace:
 +  * in the Workspace group, page 0, index 0 (see [[macros:function:Handles.CreateHandleReference]])
 +  * named 'Playbacks'
 +  * no icon assigned
 +  * only visible windows stored in this workspace
 +  * when called, other windows are not being closed
  
 == Also used in == == Also used in ==
macros/function/workspace.record.1534869991.txt.gz · Last modified: 2018/08/21 16:46 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki