UI using submenus: is it possible?

General Discussion of Scripting for Adobe Bridge

Moderators: Tom, Kukurykus

PaulJBis

UI using submenus: is it possible?

Post by PaulJBis »

Hello:

I'm developing a Bridge script where I want to add a command to the thumbnail menu (the context menu that appears when you right-click on a thumbnail) and, when the user hovers over that command, I want a submenu to appear. Is that possible with the current scripting interface? I'm asking because:

-I haven't found in the docs a way to create a submenu that depends on another menu.
-The only useful function that I see in the MenuElement class is "onSelect". There is nothing to detect whether the user is hovering over a command without actually clicking on it.