Editors
The editor functions of the ui
module can be used to launch editor windows,
such as Edison and the event editor.
launchAudioEditor
Launches an audio editor for track at index
and returns the state of
the editor. Set reuse
to true (1
) to reuse an already loaded audio
editor.
HELP WANTED
- How do I get this to work? I can only get it to open an empty window.
Args
-
reuse
(int
): whether to reuse an already open audio editor. -
filename
(str
): filename to open? -
index
(int
): mixer track index to open on. -
preset
(str
): ??? -
presetGUID
(str
): ???
Returns
int
: ???
Included since API version 1.
openEventEditor
Launches an event editor for eventId
.
See the event mapping tutorial for more information on REC events.
Args
-
eventId
(int
): event ID. -
mode
(int
): One of the openEventEditorMode constants. -
newWindow
(bool
, optional): whether to open in a new window. Defaults toFalse
.
Returns:
int
: ???
Included since API version 9.