I can confirm that the button described by sa16 does not work when used in a button bar that is opened as a menu, whereas it works when the button bar is opened as a bar.
I tried simplifying the em_command to:
Code: Select all
[em_tc]
cmd=%COMMANDER_EXE% /O /S
param=%A
Which still works fine in a bar but not in a bar menu.
If I put a ? in font of the param %A - I can see that when the command is used in a bar the values of "%T" and "%P" are transferred to the %COMMANDER_EXE% command - but when I use it in a bar
menu nothing is transferred - so there is a problem using the %A (%A1, %A2 etc) parameters with an em_command in a button bar
menu.