Code: Select all
scriptfile : <xyscripts>\ctb\menu.xys
ctb LClick : ::load "ctb\menu.xys", "#1", f;
OR ::load "ctb\menu.xys", "#1", f;
ctb RClick : load "ctb\menu.xys", "#2", f;
script :Code: Select all
// ==LCLICK======================================
"MainMenu : mainmenu"
popupmainmenu;
// ==RCLICK======================================
"windowmenu : windowmenu"
popupmainmenu "window";
And here's the second request:
when ctb leftclick has SC load with a single label, the labelled subscript executes directly, but if ctb rightclick has the same, it pops up a single-entry menu, requiring one extra click. load "ctb\menu.xys", "windowmenu";
I realize this may be applied to handle normal ctb right-click menu mechanism, but just as there's a tweak for that, can there also be a tweak for this please?
ed. removed :: where they were not.
XYplorer Beta Club