Question
Any way to execute menu commands?
I'd like to execute the equivalent functionality to some existing menu commands in Bridge from a Bridge script. In particular, I'd like to be able to turn off the favorites panel and the folders panel (View/Favorites Panel) and (View/Folders Panel). Using the published menu identifiers for them, I can tell if they are checked already (e.g. displayed already), but I haven't figured out how to actually call those commands.
In case you are wondering why I'd like to turn thse off, I'm creating a new window/document and displaying a custom browse scheme. When using a custom browse scheme, the folders window shows nothing useful so I'd like to turn it off. Further, since I'm not displaying files and folders, I think it will be less confusing to users if they don't see the folders pane.
Any ideas?
--John
In case you are wondering why I'd like to turn thse off, I'm creating a new window/document and displaying a custom browse scheme. When using a custom browse scheme, the folders window shows nothing useful so I'd like to turn it off. Further, since I'm not displaying files and folders, I think it will be less confusing to users if they don't see the folders pane.
Any ideas?
--John
