Version 1, last updated by ultra at January 07, 2009 17:44 UTC
How to Manipulate Views
To set session/arranger view:
self.application().view.show_view("Session") #sets view to session
self.application().view.show_view("Arranger") #sets view to arranger
To check which session/arranger view is shown (mostly likely for the purpose of toggling views):
if (self.application().view.is_view_visible("Session")): #checks for session view
if (self.application().view.is_view_visible("Arranger")): #checks for arranger view
To set focus to session or arranger (to allow the use of arrow buttons and other purposes):
self.application().view.focus_view("Session") #sets focus to session area
self.application().view.focus_view("Arranger") #sets focus to arranger area
To control clip and device, use "Detail/Clip" and "Detail/DeviceChain". For the browser, use "Browser". Note that show_view("Browser") works, but to hide it use hide_view("Browser")
This information was taken from the Mackie files uploaded by Martin. There might be other view parameters available. If so, please continue this article.