Elegant Window Toggling

820 viewsCSS Questions
0

Any suggestions on the best way to toggle eg Session/Arranger using reactions?
Just doesnt seem to be reading self.application().view.focused_document_view properly when used in AND Condition? Always msg as ‘Session

admin Changed status to publish May 22, 2024
Attached Files:
0

the only examples for usage of focused_document_view I’ve found is when checking which view you are currently in: ‘Session’ or ‘Arranger’.
However, based on what I’ve seen, if this does actually switch views then the document view name needs to be assigned to it like this:
self.application.view.focused_document_view = ‘Arranger’
or
self.application.view.focused_document_view = ‘Session’

note: focused_document_view is a Max4Live object.

admin Changed status to publish May 22, 2024
Attached Files:
You are viewing 1 out of 6 answers, click here to view all answers.