Elegant Window Toggling

1.41K 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
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
Attached Files:
0

Cool! thanks for updating with the solution, that’s good to know 🙂

admin Changed status to publish
Attached Files:
0

@image _engine, how do you use this sleep command, do you just set the number of time in the parenthesis? I’m having trouble with a command right now and im wondering if this might help me

admin Changed status to publish
Attached Files: