List of Internal Toolbar Icons

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
XY_GVO
Posts: 1
Joined: 10 Jun 2022 09:33

List of Internal Toolbar Icons

Post by XY_GVO »

From the help file:
Custom tab icons

You can customize the icon of each Tab. Simply append any file spec to the caption of the tab, i.e. to the name you give to a tab by the Rename Tab function (found in the tab headers context menu), separated by a | (pipe). It can be an icon file or any other file or folder with associated system icon. XYplorer native variables, environment variables, and portable paths are supported. Internal toolbar icons (prefixed with ":") are supported as well. Examples:

fav|E:\Test\Kiss.ico
xy|<xy>
co|Computer
|:home Use the "home" toolbar icon. No particular name specified.
|fun.ico If the full path is not given the path resolved relative to the Icons Path (default: <xydata>\Icons).
Tip: Right-clicking the icon of a tab pops a breadcrumb menu for the tab's path.
That's all great, but where can I find a list of the "Internal Toolbar Icons" that I can use? Now it's pure guess work and I tried to get all sorts of combinations for a particular icon I would like, without success...

Thanks for answering,
Geert

highend
Posts: 13313
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: List of Internal Toolbar Icons

Post by highend »

To see all internal XY icon names for _ALL_ toolbar buttons,
hold CTRL while clicking the "Customize Toolbar..." menu item

Either via: Right click on (free) space in the toolbar
or Menu - Tools - Customize Toolbar...

Inside the "Customize Toolbar..." window you can hold CTRL as well
and hover over entries to see their internal icon name...

Scripting:

Code: Select all

    $entries = replace(toolbar(, , 1), ",", <crlf>);
    // Filter out entries (ctbs, divider, {...})
    $entries = regexreplace($entries, "^(-|ctb|\{).+?(\r?\n|$)");
    // Sort and remove empty ones
    $entries = formatlist($entries, "es", <crlf>);
    // Affix ":"
    text regexreplace($entries, "^(.)", ":$1");
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 60558
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: List of Internal Toolbar Icons

Post by admin »

Or hold CTRL while hovering a toolbar button.

Post Reply