how can I focus(highlight) device panel by javascript?

Post Reply New Topic
RELATED
PRODUCTS

Post

AUTO-ADMIN: Non-MP3, WAV, OGG, SoundCloud, YouTube, Vimeo, Twitter and Facebook links in this post have been protected automatically. Once the member reaches 5 posts the links will function as normal.
I'd like to highlight(focus) Device Panel (of bitwig editor) to show which device is active, when my script changed CursorDevice with `selectNext()` or `selectPrevious()`.

Internally I can see that cursordevice has changed properly (with debug-print cursordevice.name().get()).
But without highlighted(focused) Device Panel, user cannot know which device is active (because no device is highlighted)

Is there any way to highlight(focus) Device Panel by javascript code?

-- addition

Code: Select all (#)

application.getAction("focus_or_toggle_device_panel").invoke()
I thought that action suits for the purpose but actually not.
It doesn't work if following (maybe bug...?):
1. select track (not device panel is highlighted)
2. send that action above, so device panel is highlighted and able to see which device is highlighted
3. change track
4. send that action above, occurs closing device panel (despite device panel is not focused).

Post Reply

Return to “Controller Scripting”