Quick Custom Menu Builder, v2

Discuss and share scripts and script files...
Post Reply
SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Quick Custom Menu Builder, v2

Post by SkyFrontier »

--- Quick Custom Menu Builder, v2 - 2018 [based off XYplorer v18.80 Cheat Sheet] ---
by SkyFrontier

Deep-yet-customizable as it is, XYplorer offers practically anything you'll ever need regarding
file management - and possibly already has anything you never thought you couldn't live without
until you discover such functionalities.

Of course such astonishing power comes with a small price: you can't see anything at once.
Well... that is until you have proper glasses! ^^

Quick Custom Menu Builder allows to easily spot the features you want, arrange them quickly in a
single menu and have them for the time of a session - or saved for later usage as individual,
task-specific menus that can be available anywhere a menu fits inside XYplorer interface!

FEATURES:

-easily build several temporary menus, one after each other per specific demands on a session;
-build several task-specific menus, attach them into the USER > MANAGE COMMANDS (ctrl+alt+F9) interface
and have your own keyboard shortcuts for each of those useful menus;
-quick spot via live-filter all the commands available via XYplorer interface;
-live-filter by typing the combo keys commonly used or by (partially!) known command IDs;
-generated menus can or cannot have GUI paths (Categories) and Key Shortcuts;
-preserve your Custom Keyboard Settings: each menu has temporary quick access keys to each command;
-free up more Custom Keyboard Settings combos - eventually assigning them to more Quick Custom Menus

v2, 2018:
-entry '0 - Clear Current then Build Another Menu' on all generated menus allows this main script
to build other menus without a hassle.
Two stage operation: 1. select the option (erasing active temporary menu from memory),
2. run this script again so another menu can be created.
-pick-up window auto-resizes according to your screen resolution.
-number of available commands is displayed at the pick-up window.
-generated menu will automatically run after its creation.
-icons! (which was planned on v1 but not possible due to script command limitations).
-reviewed wording.
-this intro.

Hint: pressing F9/Configuration... leads to (obviously) the Configuration page. There, you'll
find the 'Jump to Setting' button which in turn allows for quick spot of other important
features the program has to offer.

IMPORTANT NOTICE:
This script requires little maintenance, as currently XY cannot retrieve the Cheat Sheet data via scripting,
which can be done via
Tools / Customize Keyboard Shortcuts...[#602, Shift+F9], then click OPTIONS, COPY CHEAT SHEET, check
INCLUDE COMMAND IDs, click OPTIONS again, COPY CHEAT SHEET > CATEGORY / COMMAND, SHORTCUT(S)
-options in this version are from v18.80 (which can be also used on previous or later versions, according to
supported script commands on older and/or available commands [including eventual captioning changes] on newer ones).

For future updates (or usage with older XYplorer versions: base code is nearly the same from march, 2014 except for
the icons support), please update/downgrade the '$a' variable where indicated by the 'TWEAK HERE...' section,
strictly keeping the structure as it presently is (order or wording doesn't mean a thing).


Small Update:

-bug fix - menus with cyclic dictionary would stale;
-small cosmetic change;
-neutral Cheat Sheet.

The script:
QuickCustomMenuBuilder_v2_xy18_80_2018.xys
(38.7 KiB) Downloaded 192 times
__________
By the way: is there a current method to retrieve Cheat Sheet and Help/Various Information by scripting?

Sample Menus:

No categories/key shortcuts:
QCM_variousUsefulCommands_v2_noCats_2018_SAMPLE.png
QCM_variousUsefulCommands_v2_noCats_2018_SAMPLE.png (24.43 KiB) Viewed 1626 times
Another menu, full (default):
QCM_variousUsefulCommands_2018_SAMPLE.png
QCM_variousUsefulCommands_2018_SAMPLE.png (46.83 KiB) Viewed 1626 times
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

Post Reply