Separators on Bridge CS3 context menus

General Discussion of Scripting for Adobe Bridge

Moderators: Tom, Kukurykus

Guy Scharf

Separators on Bridge CS3 context menus

Post by Guy Scharf »

I am adding several menu items to the Bridge CS3 2.1 context menu in the content pane. The MenuElement constructors in the two scripts (one for each menu item) are:
Code: Select allvar cntCommand = new MenuElement("command", "RejectImageMenuItem", "at the end of Thumbnail", this.menuID);

var cntCommand = new MenuElement("command", "SecondImageMenuItem", "after rejectRawImage", this.menuID);
I am getting separators between my menu elements in the context menu. I really want me two menu items together, without a separator between them. As I read the MenuElement specs, it sounds like I should not get separators unless I have a "-" as part of the menu position, but I am not including that and getting separators anyway.

How do I avoid the separators?

Thanks.

Guy