When I select "New Folder", XY doesn't create it for me. The same for other menu items, they doesn't really work.
Code: Select all
"Right-Click on White in File List"
$menu = <<<MENU
New Folder;#231
New Text File;#234
-
Paste;#202
-
Refresh;#1001
MENU;
popupmenu($menu);
eval() instead of popupmenu($menu), but it still doesn't work:Code: Select all
"Right-Click on White in File List"
$menu = <<<MENU
New Folder;#231
New Text File;#234
-
Paste;#202
-
Refresh;#1001
MENU;
$selected = popupmenu($menu);
if (strpos($selected, "#") != -1) { eval("""$selected"""); }
else { eval($selected); }
XYplorer Beta Club