Platforms to show: All Mac Windows Linux Cross-Platform
Answer:
Use this function (Mac only):
Also the MBS Plugin has a window.collapsedmbs property you can set.
For Windows the MBS Plugin has a window.isiconicmbs property.