Script levels

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
hermhart
Posts: 213
Joined: 13 Jan 2015 18:41

Script levels

Post by hermhart »

In the Code box below is a copy from the manual regarding Levels, but I'm curious if there is a way for the lines that read:
"Go to C:\|||1"
 goto "C:\";
if that can call another script file that could be used to generate that level, much like a cascading sub-menu? So the sub-menu wouldn't actually say "Go to C:\", but would be what is read from another script file of commands with labels. Though I have made a couple of Levels in my drop-down menus, it would be nice to be able to do this so I can keep separate files for different drop-downs of menus, just so they don't get to long and cluttered.

Code: Select all

"C:|*"
"Go to C:\|||1"
 goto "C:\";
"|||1" goto "%winsysdir%";
 selectitems "calc.exe";
"D:|*"
"Go to D:\|||1"
 goto "D:\";

Post Reply