I requested help with creating sub menu's. You're code doesn't do that.
So where are the sub menu's?
AGAIN: THE INBUILT FAVORITES DO NOT SUPPORT THAT^^
My script didn't claim to produce submenus out of something that doesn't support them^^ It does combine the existing ones and add WHATEVER YOUR FUC*** "system shortcuts" (even if they are layered) into ONE menu.
I am clearly stating I know NOTHING about scripting and you aren't giving any real help so I can learn.
I have repeatedly asked for help on how to make icons and custom names appear in menu's and sub menu's. Instead I get ignored, abused and told to read a help file that is, with the greatest of respect
I can't read it anymore... The help file is bad, ugly, misinforming and everything else that hinders you from reading it. Got that.
You want to know what you're doing wrong? Consult the fuc**** help file. I know you won't.
Code: Select all
$menu = <<<MENU
System Menu
"This PC|%computer%" #340; goto "%computer%";
"Documents|%personalreal%" #340; goto "%personalreal%";
"- App Data|*.<DIR>" #340; goto "%USERPROFILE%\AppData\";
"- Program Data|*.<DIR>" #340; goto "%ProgramData%";
"- Program Files 32|*.<DIR>" #340; goto "%ProgramFiles(x86)%";
"- Program Files 64|*.<DIR>" #340; goto "%ProgramW6432%";
MENU;
popupnested($menu);
Why doesn't that work in a normal script? Because you didn't read (again) the entry for popupnested() and directly afterwards popupmenu() because popupnested() refers to it regarding syntax.
Can you read the
itemlist +
sep_item parameter?
If you could you would know why that example fails.
CAPTION
DATA
ICON
STATE
separated by
sep_item
"This PC|%computer%" #340; goto "%computer%";
resolves into what regarding these aspects?
Does it have the ICON in the right place? Does your used statement even support multiple internal/script commands?
In case you think that anything resolves to a "yes" answer, no, it doesn't.
Code: Select all
$menu = <<<MENU
System Menu
This PC|#340; goto "%computer%";|%computer%
Documents|#340; goto "%personalreal%";|%personalreal%
- App Data|#340; goto "%USERPROFILE%\AppData\";|*.<DIR>
- Program Data|#340; goto "%ProgramData%";|*.<DIR>
- Program Files 32|#340; goto "%ProgramFiles(x86)%";|*.<DIR>
- Program Files 64|#340; goto "%ProgramW6432%";|*.<DIR>
MENU;
$sel = popupnested($menu, 7:="|");
if ($sel) { load $sel, , "s"; }
Oh, maybe the right
item_sep was used here and maybe the icons are in the correct position and maybe the data that is returned is interpreted correctly?
My script did cover EXACTLY THIS SCENARIO but it was useless...
As I said before, find someone that is willing to help you to learn scripting. I'm not the one. Your constant refuse to read the help file will never lead you anywhere and I'm tired of hearing that the help file is shit. Over and out.