Hello,
I know how to create a 2-level menu for somehting like:
Fruits>Apple
Banana
Oranges
var choice = app.popUpMenuEx(
{cName:"Fruits",
oSubMenu: [ {cName:"Apple", cReturn:"Apple" }, {cName:"Banana", cReturn:"Banana" }, {cName:"Melon", cReturn:"Melon" } ]},
But what would the code look like for something like (3 level):
Fruits>Apple
Banana
Oranges>Navel
Valencia
Moro (Blood)
or even something like this (4-levels):
Location A......>Site A......>Properties...>Property1
Property2
Property3
Site B>
Site C>
Location B>
Location C>
So overall, how would the above script for a 2-level popup menu be modified for a 3, 4, or more level popup menu?