Skip to main content
Known Participant
August 31, 2005
Question

Any way to execute menu commands?

  • August 31, 2005
  • 4 replies
  • 649 views
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
This topic has been closed for replies.

4 replies

Known Participant
September 1, 2005
Get something like ScriptListener in place and we can figure out how to do a lot of stuff there's not an explicit API for.

ciao,
-X
Known Participant
August 31, 2005
It's on the list. Now to see if it makes the cut.

Bob
Known Participant
August 31, 2005
Bummer. Another one for the feature request list.

I'd actually like full scripting control of the chrome including setting a workspace, setting visibility of panels, access to the filter menu in the toolbar, etc...
Known Participant
August 31, 2005
Sorry, no there isn't.

Bob