switch_mode
Switch Dorico's workspace mode to setup, write, engrave, play, or print without altering notes or playback. Use write mode before composing notes, rests, or moving the caret.
Instructions
Switch which of Dorico's five workspace modes is on screen.
Changes the window and nothing in the music: no notes, no playback position and
no selection move as a result.
Returns:
Result dictionary reporting whether the switch was accepted.
Note:
Note entry needs write mode, so switch there before add_notes, add_rest,
goto_bar or write_score if the project might be in another one. get_status
reports which mode is active without changing it.
This is not navigation. To scroll the score use navigate, and to move the
caret use goto_bar.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Which mode to show: 'setup' for players, layouts and flows, 'write' for note entry and editing, 'engrave' for graphical adjustment and spacing, 'play' for the track view and VST instruments, 'print' for print and export setup. The raw kName forms are accepted too. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||