[Solved] Defer your response

2.75K viewsCSS QuestionsCSS Error
0

Hi, what does mean this:

> Changes cannot be triggered by notifications. You will need to defer your response.

Related to this script:

self.song().tracks[self.get_list_item("list1", 1)].color_index = self.get_list_item("list1", 0)

Fabrice Planquette Edited question
1

Ableton blocks UI to UI methods.
So in your case, the listener ‘songs visible tracks has changed’ is a UI based event and your action is setting the color index of the track. Ableton is blocking this with the ‘defer’ message.
You would need to change the listener to an even coming from the midi controller or explore what Glen mentioned above.

There’s also this user submitted solution to get around it: https://community.remotify.io/questions/question/solved-defer-your-response-workarounds/

JohnC Edited answer
You are viewing 1 out of 6 answers, click here to view all answers.