Runs the following macros as specified.
UserMacros.RecallMacroById("adb.Macros.deleteWorkspace1thru24")
UserMacros.RecallMacroById("adb.Macros.CloseAllWindows")
UserMacros.RecallMacroById("adb.Macros.ws.Playbacks")
UserMacros.RecallMacroById("adb.Macros.recordworkspace1")
UserMacros.RecallMacroById("adb.Macros.CloseAllWindows")
UserMacros.RecallMacroById("adb.Macros.ws.Program")
UserMacros.RecallMacroById("adb.Macros.recordworkspace2")
opens Workspace Playbacks
UserMacros.RecallMacroById("adb.Macros.MinimiseWindow")
Windows.SetWindowProperty.X("Windows.Playbacks", 0)
Windows.SetWindowProperty.Y("Windows.Playbacks", 0)
Windows.SetWindowProperty.Width("Windows.Playbacks", 2)
Windows.SetWindowProperty.Height("Windows.Playbacks", 2)
ActionScript.SetProperty.Enum("Windows.Playbacks.ButtonSize", "Fixed")
ActionScript.SetProperty.Enum("Windows.Playbacks.TextSize", "Global")
ActionScript.SetProperty.Integer("Windows.Playbacks.FixedColumns", 12)
ActionScript.SetProperty.Integer("Windows.Playbacks.FixedRows", 12)
ActionScript.SetProperty.Boolean("Windows.Playbacks.Pages", true)
ActionScript.SetProperty.Integer("Windows.Playbacks.CurrentPage", 0)
Windows.Scrolling.Vertical.Scroll(-100000)
opens Workspace Program
Windows.SetWindowProperty.X("Windows.Groups", 0)
Windows.SetWindowProperty.Y("Windows.Groups", 0)
Windows.SetWindowProperty.Width("Windows.Groups", 1)
Windows.SetWindowProperty.Height("Windows.Groups", 1)
Windows.SetWindowProperty.X("Windows.Colours", 1)
Windows.SetWindowProperty.Y("Windows.Colours", 0)
Windows.SetWindowProperty.Width("Windows.Colours", 1)
Windows.SetWindowProperty.Height("Windows.Colours", 1)
Windows.SetWindowProperty.X("Windows.Positions", 0)
Windows.SetWindowProperty.Y("Windows.Positions", 1)
Windows.SetWindowProperty.Width("Windows.Positions", 1)
Windows.SetWindowProperty.Height("Windows.Positions", 1)
Windows.SetWindowProperty.X("Windows.Beams", 1)
Windows.SetWindowProperty.Y("Windows.Beams", 1)
Windows.SetWindowProperty.Width("Windows.Beams", 1)
Windows.SetWindowProperty.Height("Windows.Beams", 1)
Record Workspace 1.
Workspace.Record(Handles.CreateHandleReference("Workspaces", 0, 0), "Playbacks", 0, true, false)
ActionScript.SetProperty("Handles.AllowEditWorkspaces", true)
Handles.SetSourceHandle("Workspaces", 0)
ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:1)
Handles.SetUserNumber()
Handles.ClearSelection()
ActionScript.SetProperty("Handles.AllowEditWorkspaces", false)
Record Workspace 2.
Workspace.Record(Handles.CreateHandleReference("Workspaces", 0, 1), "Program", 0, false, true)
ActionScript.SetProperty("Handles.AllowEditWorkspaces", true)
Handles.SetSourceHandle("Workspaces", 1)
ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:2)
Handles.SetUserNumber()
Handles.ClearSelection()
ActionScript.SetProperty("Handles.AllowEditWorkspaces", false)
adb Delete Workspace 1-24
ActionScript.SetProperty.Boolean("Handles.AllowEditWorkspaces", true)
Handles.SetSourceHandleFromHandle("workspaceHandleUN=1")
Handles.ConfirmDelete()
Handles.SetSourceHandleFromHandle("workspaceHandleUN=2")
Handles.ConfirmDelete()
Handles.SetSourceHandleRange("Workspaces", {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11})
Handles.ConfirmDelete()
ActionScript.SetProperty.Boolean("Handles.AllowEditWorkspaces", false)