popupmainmenu "Edit", -1, -1;
but they work when not using the submenu param, eg.
popupmainmenu , -1, -1;
(also works without even using the X/Y params, since going by the docs they are set to -1 by default anyway). Additionally when supplying absolute X/Y params and using the submenu param it seems they are based on the XY window (plus titlebar+mainmenu) not the screen. eg. these show in 2 different places:
Code: Select all
popupMainMenu , 0, 0;
popupMainMenu "Go", 0, 0;