I made thousands of test this night... I have no idea what is the reason
When I remove some entries (before that not working - entries that are displayed correctly) from UserDefinedCommands.xml file it works!
Like xml parser can not support so many entries?
Ps: About Name Tags -> I use it only in definition of menu, in submentu I use text - so MC shows text (I tested it with text both in menu and submenu and no difference).
For example:
Now, I use it like this (it works fine):
; UserMenu.xml
<menuitem displayname="&Ultimate File Manager">
<menuitem name="
UFM_PROJECT_HELP" id="ccd7658789ac41038d581ce15263f29d"/>
<menuitem name="
UFM_PROJECT_HISTORY" id="5e4d79fe877d4ae68a8fad1c6cc40747"/>
</menuitem>
; UserDefinedCommands.xml
<userdefinedcommand name="
UFM Help" id="ccd7658789ac41038d581ce15263f29d" type="multiscript">
<tip>Open UFM Help File</tip>
<command>@var $Win_Dir = TranslateEnvString("%WINDIR%");</command>
<command>MC.Run CMD="{$Win_Dir}\hh.exe" ARG="${mcinstallpath}\..\HELP\UFM_ENG.chm"</command>
</userdefinedcommand>
<userdefinedcommand name="
UFM changelog" id="5e4d79fe877d4ae68a8fad1c6cc40747" type="multiscript">
<tip>Check UFM project changelog</tip>
<command>@var $Win_Dir = TranslateEnvString("%WINDIR%");</command>
<command>MC.Run CMD="{$Win_Dir}\hh.exe" ARG="ms-its:${mcinstallpath}\..\HELP\UFM_ENG.CHM::/Version/Version.html"</command>
</userdefinedcommand>
Changing it to your suggestion change nothing:
; UserMenu.xml
<menuitem displayname="&Ultimate File Manager">
<menuitem name="
UFM Help" id="ccd7658789ac41038d581ce15263f29d"/>
<menuitem name="
UFM changelog" id="5e4d79fe877d4ae68a8fad1c6cc40747"/>
</menuitem>
; UserDefinedCommands.xml
<userdefinedcommand name="
UFM Help" id="ccd7658789ac41038d581ce15263f29d" type="multiscript">
<tip>Open UFM Help File</tip>
<command>@var $Win_Dir = TranslateEnvString("%WINDIR%");</command>
<command>MC.Run CMD="{$Win_Dir}\hh.exe" ARG="${mcinstallpath}\..\HELP\UFM_ENG.chm"</command>
</userdefinedcommand>
<userdefinedcommand name="
UFM changelog" id="5e4d79fe877d4ae68a8fad1c6cc40747" type="multiscript">
<tip>Check UFM project changelog</tip>
<command>@var $Win_Dir = TranslateEnvString("%WINDIR%");</command>
<command>MC.Run CMD="{$Win_Dir}\hh.exe" ARG="ms-its:${mcinstallpath}\..\HELP\UFM_ENG.CHM::/Version/Version.html"</command>
</userdefinedcommand>
I suppose the problem is in MC and xml parsing (or I just don't get it
-Pawel