Skip to main content
Known Participant
Aug 31, 2005 7:15 PM UTC
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
This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

Known Participant
Sep 1, 2005 2:16 AM UTC
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
Translate
Known Participant
Aug 31, 2005 8:25 PM UTC
It's on the list. Now to see if it makes the cut.

Bob
Translate
Known Participant
Aug 31, 2005 8:23 PM UTC
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...
Translate
Known Participant
Aug 31, 2005 7:21 PM UTC
Sorry, no there isn't.

Bob
Translate