Question
How to create a Context Menu submenu?
I am trying to create a submenu which lists scripts in the content window - Does anyone know how to do this?
This works:
if (MenuElement.find ('Thumbnail/tscript') == null) var ah_ScriptsContext = new MenuElement( "command", "Scripts", "at the end of Thumbnail", "tscript");
But the submenu does not work:
var ah_runScriptImRnContext = new MenuElement("menu","AH Image Rename","at the end of Thumbnail/tscript");
I've tried various combinations of 'menu' / 'command' and everything else I can think of, so far no go.
Andrew
This works:
if (MenuElement.find ('Thumbnail/tscript') == null) var ah_ScriptsContext = new MenuElement( "command", "Scripts", "at the end of Thumbnail", "tscript");
But the submenu does not work:
var ah_runScriptImRnContext = new MenuElement("menu","AH Image Rename","at the end of Thumbnail/tscript");
I've tried various combinations of 'menu' / 'command' and everything else I can think of, so far no go.
Andrew
