Allow grouping User Command Scripts into submenus
Allow grouping User Command Scripts into submenus
I currently have 70 user command scripts defined for all sorts of daily tasks, and it has become a nightmare to scroll through such a long "Run Script" menu (it doesn't even scroll for I have to click the top/bottom arrows to scroll through the list)
Just like there is an option to insert a menu separator, there should also be an option to create a submenu to group specific user command scripts into a submenu, thus (1) allowing easier finding of scripts, (2) removing the need to scroll through endless menus and (3) removing the need to assign shortcuts just to avoid scrolling through long script menus.
Just like there is an option to insert a menu separator, there should also be an option to create a submenu to group specific user command scripts into a submenu, thus (1) allowing easier finding of scripts, (2) removing the need to scroll through endless menus and (3) removing the need to assign shortcuts just to avoid scrolling through long script menus.
Last edited by woofy31 on 29 Apr 2023 02:58, edited 1 time in total.
Re: Allow grouping User Scripts into submenus
You might want to look into the catalog where you can group your scripts in categories (only 1 level though).
Another thing to look at is CFA's, especially interesting if your scripts only make sense for some specific file types, see screenshot below:
Another thing to look at is CFA's, especially interesting if your scripts only make sense for some specific file types, see screenshot below:
Ralph 
(OS: W11 24H2 Home x64 - XY: Current x32 beta - Office 2024 32-bit - Display: 1920x1080 @ 125%)

(OS: W11 24H2 Home x64 - XY: Current x32 beta - Office 2024 32-bit - Display: 1920x1080 @ 125%)
Re: Allow grouping User Scripts into submenus
Awesome creative solutions - pity my catalog is already full of things (although I could create a separate catalog for scripts, but I don't think there is a quick hotkey-way of switching catalogs without clicking context menus), and I don't have many filetype-specific scripts.RalphM wrote: ↑14 Apr 2023 07:23 You might want to look into the catalog where you can group your scripts in categories (only 1 level though).
Another thing to look at is CFA's, especially interesting if your scripts only make sense for some specific file types, see screenshot below:
PicPick_824.jpg
I do recall that XYplorer has implemented a custom popup menu/nested popup feature, so I have to look into that and see how I could use it to create a custom popup with submenus listing all my scripts in categories.
Thank you Ralph!
Re: Allow grouping User Scripts into submenus
but I don't think there is a quick hotkey-way of switching catalogs without clicking context menus
catalogload()
bound to user defined commands with a hotkey...One of my scripts helped you out? Please donate via Paypal
Re: Allow grouping User Scripts into submenus
Here's my current menu for folders and some apps, if any use to you...
Separators are made with
Indents make a new category.
Code: Select all
$menu = <<<MENU
-
-
System|;;|<xyicons>\book.png
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>
- StartUp|#340; goto "%ProgramData%\Microsoft\Windows\Start Menu\Programs\StartUp\";|*.<DIR>
- Windows|#340; goto "%windir%";|*.<DIR>
-
- Quick Launch|#340; goto "%USERPROFILE%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch";|*.<DIR>
- Start Menu All|#340; goto "C:\ProgramData\Microsoft\Windows\Start Menu";|*.<DIR>
- Start Menu User|#340; goto "%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu";|*.<DIR>
- Temp|#340; goto "%windir%\Temp";|*.<DIR>
-
System Apps|;;|<xyicons>\book.png
Calc|; open "%windir%\System32\calc.exe";|%windir%\System32\calc.exe
Cmd|; open "%ComSpec%";|%ComSpec%
Control Panel|; open "%windir%\System32\control.exe";|%windir%\System32\control.exe
Recycle Bin|#340; goto "Recycle Bin";|Recycle Bin
Reg Edit|; open "%windir%\SysWOW64\regedit.exe";|%windir%\SysWOW64\regedit.exe
Settings|; open "D:\SyMenu\Profiles\MyQuickLaunch\- Settings.lnk";|D:\SyMenu\Profiles\MyQuickLaunch\- Settings.lnk
Sound Settings|; open "%windir%\System32\mmsys.cpl";|%windir%\System32\mmsys.cpl
System Info|; open "%windir%\System32\msinfo32.exe";|%windir%\System32\msinfo32.exe
Win Explorer|; open "%windir%\explorer.exe";|%windir%\explorer.exe
-
Internal Icons|; load "XY icon copy.xys";|:clipimage
MENU;
$sel = popupnested($menu, 7:="|");
if ($sel) { load $sel, , "s"; }
-
Indents make a new category.
Re: Allow grouping User Scripts into submenus
Custom queue menus via AutoHotkey scripts, but you don't need to learn AutoHotkey because I imitated XY's custom menu.
Windows 11 24H2 @100% 2560x1440
User can create Folder/category for user-command
hi,
i have many user commands and i think it should be more convenient if we can create folder or category to organize them
for example , in user-manage commands menu=> in "run scripts" category, i want to create a folder/category and drag my user-commands into it
Thanks
i have many user commands and i think it should be more convenient if we can create folder or category to organize them
for example , in user-manage commands menu=> in "run scripts" category, i want to create a folder/category and drag my user-commands into it
Thanks
Re: Allow grouping User Scripts into submenus
Hi again, from what i understand from this thread, the post is about categorize the script file ,not user-defined command (please tell me if im wrong)
i want to categorize the user-defined command (not scripts file) in the popup (which open via user=>manage commands) , is there anyway to do that?
(i prefer using user-defined commands than using script files because running user-defined command will load script from memory instead of loading the script from disk)
any help would be much appreciated
i want to categorize the user-defined command (not scripts file) in the popup (which open via user=>manage commands) , is there anyway to do that?
(i prefer using user-defined commands than using script files because running user-defined command will load script from memory instead of loading the script from disk)
any help would be much appreciated
Re: Allow grouping User Scripts into submenus
And what is the big difference or problem ?
Windows 11 Home, Version 24H2 (OS Build 26100.6584)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1399a (x64), Everything Toolbar 2.0.4, Listary Pro 6.3.5.94
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1399a (x64), Everything Toolbar 2.0.4, Listary Pro 6.3.5.94
Re: Allow grouping User Command Scripts into submenus
loading from memory faster than disk, also user-defined command has hotkey to trigger