Page 1 of 1

[Deprecated] XY icon copy

Posted: 27 Nov 2017 15:03
by highend
Shows all available internal XY icons in a popup menu.

The idea is based on Enternals XYIconCopy version (viewtopic.php?f=7&t=9531)

Main difference, since v18.50.0301 XY supports the undocumented! [flags] parameter for the toolbar() script
command, which dynamically returns all icons instead of a list of fixed ones... This script incorporates the
new way to get them all...

The icons are filtered automatically, but by changing the variable

Code: Select all

$filterIcons = true;
to false you can change that behavior.

If filtering is active, all custom toolbar buttons from 2 to 64 and a lot of drive icons are removed
because they all provide an already existing icon...

A header that shows the count of icons found is by default displayed on top of the menu.
If you want to hide it, change the

Code: Select all

$displayHeader = true;
variable to false.
Clicking on the header entry will do (apart from closing the menu) nothing!

With the header:
with header.png
Without:
without header.png
v19.00.0302 adds a new flag to inputselect(): 1024
It is now much easier to scroll through the list of icons
(and filter it if you like)
19.00.0302.png
Current version:
XY icon copy_v0.7.xys
Old version(s):
XY icon copy_v0.6.xys
XY icon copy_v0.5.xys
XY icon copy_v0.4.xys
XY icon copy_v0.3.zip
XY icon copy_v0.2.zip
XY icon copy_v0.1.zip

Re: XY icon copy

Posted: 29 Nov 2017 13:45
by highend
Changelog

Code: Select all

v0.2
 • Fixed  : Replaced gvf -> gvfoff and visualfilter -> vfoff menu entries
            These are from type on/off

Re: XY icon copy

Posted: 29 Nov 2017 23:49
by highend
Changelog

Code: Select all

v0.3
 • Added: $displayHeader configuration option
          If set to true (default) the menu will show a header with how many
          icons were found. If set to false, the header will be hidden

Re: XY icon copy

Posted: 11 Dec 2018 00:50
by highend

Code: Select all

v0.4
 + Added: Support for v19.00.0302: inputselect() - flag = 1024 (show icons)
          Much easier to scroll through the list and filter it, now...
19.00.0302.png

Re: XY icon copy

Posted: 09 Jan 2019 23:36
by highend

Code: Select all

v0.5
 + Added: Icons for dph, maxitree, queuepaused and script

Re: XY icon copy

Posted: 15 Apr 2020 14:57
by highend

Code: Select all

v0.6
 + Added: All currently known (and previously) missing internal icons
It now supports a sporting 171 internal icons on the current version...

Re: XY icon copy

Posted: 18 Apr 2020 19:27
by klownboy
Hi and thanks highend for keeping this icon listing up-to-date. For the heck of it, I made a minor change at the end such that it would run the button (if it's run-able) when you double click the item or hit OK, If you hold down control or shift when pressing OK it copies the icon text...just to give it a bit more functionality...I must be bored! :)

Code: Select all

        $selection = inputselect(gettoken($icons, "count", <crlf>) . " icon(s) found...<crlf>- Press OK to run toolbar button<crlf>- Hold contol down to copy icon text to clipboard", $icons, <crlf>, 1+32+64+1024+4096+8192, , 320, 760);
			$mod = get("shift");
			if (!$selection) { status "No icon entry selected, aborted!", "8B4513", "stop"; end true; }
			elseif($mod >= '1') {
				copytext ":$selection";
				status "Copied to clipboard: :$selection";}
			else {
				button "$selection";}
	}

Re: XY icon copy

Posted: 16 Jan 2024 12:34
by MBaas
"ladybug" is missing from the list!

Re: XY icon copy

Posted: 16 Jan 2024 15:49
by klownboy
Until highend updates the script, you could add "ladybug" as shown below in the $addNewIcons heredoc:

Code: Select all

        $addNewIcons = <<<>>>
clipcopy|clipcut|clipimage|cliptext|dph|findlabeldark|labelsdark|ladybug|tabsets|
vfoff|vfon
>>>;

Re: XY icon copy

Posted: 16 Jan 2024 16:26
by MBaas
excellent, thanks! :tup:

Re: XY icon copy

Posted: 16 Jan 2024 18:02
by highend
Added v0.7 with that icon...

Re: XY icon copy

Posted: 28 Nov 2025 23:46
by WirlyWirly
Heads up, seems in need of an update. Quite a few of the icons aren't being displayed at all anymore.

Re: XY icon copy

Posted: 09 Dec 2025 14:34
by highend
Let's call it deprecated...

There are 209 icons in the XY resource (only for the right part of the "map") and a couple more in the other parts.
The toolbar alone covers only 133 of these.

Where the rest is used, how they are called internally, ...

Sorry, it's not really manageable anymore without a way to get all icons with their internal names programmatically