Инструменты пользователя

Инструменты сайта


en:documentation:tweaks_csma_showpopupmenu

Это старая версия документа!


ShowPopupMenu

The command loads the menu in *.mnu format or toolbar in *.bar format and displays it at the position of the mouse cursor.

This is a special command that works only as a parameter of the ControlSetMouseAction command. Use of command in the main Autorun script is not available.

ShowPopupMenu /I[:nn] <file>

Parameters

<menu>Path to menu file or toolbar file.

Switches

/I[:nn]Enables the use of menu icons. Optionally, the size of the icons used can be set (16, 32, etc.), if not specified — the system size of the icons for the menu is used.

Notes

Supported files in the following encodings: ANSI, UTF-16LE, UTF-16BE, UTF-8, UTF-8+BOM.

*.bar file support has several limitations:

  • Executable files that set directly (without using the em_* command mechanism) cannot contain Total Commander variables (%P, %L and others) in the parameters.
  • Privilege escalation with using «*» before the command will not work.
  • Nested *.bar files are always displayed as a submenu.
  • The nesting depth of *.bar files is limited to 8 levels to exclude the possibility of infinite recursion.
en/documentation/tweaks_csma_showpopupmenu.1589037431.txt.gz · Последнее изменение: 2020/05/09 18:17 — loopback

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki