Black Friday Deal!
Get Control Surface Studio for $55 with code: black2022
Time left to get it...
mailtimers.com
Your shopping cart is empty.

self.get_selected_device_num ("view.selected_track") returns -1 for first device in track

Submitted by slasi on Thu, 11/24/2022 - 21:33
slasi
Control Surface Studio User

I have very simple script that outputs the selected_device_num whenever a selected device changed listener fires (self.song().view.selected_track.view.add_selected_device_listener)

When I select the first device it returns -1 as the index instead of 0. The second device returns 1 as expected

Script is attached.

upload files: 
Topic Category: 

0 Responses