Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GetLastSelectedMenuItem parent item (submenu name)
#2
Cannot get submenu-item text.
To get normal item path, can parse menu text.
This code displays the selected menu line and all lines before. You can create path from it.
Macro Macro2215
Code:
Copy      Help
out
int i=mac("Menu1")-1
if(i<0) ret
ARRAY(str) a=_s.getmacro("Menu1")
for i i -1 -1
,out a[i]


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)