XYIconCopy (April 25, 2016)

Discuss and share scripts and script files...
Post Reply
Enternal
Posts: 1174
Joined: 10 Jan 2012 18:26

XYIconCopy (April 25, 2016)

Post by Enternal »

XYIconCopy.xys
April 25, 2016
(4.79 KiB) Downloaded 426 times
Updated April 25, 2016
* Updated icons ({drives_avl}, {drives_cdr}, {drives_fix}, {drives_net}, {drives_rem}, gvf, gvfset, hideos, mansort, pp, qnstgl, sfs, syncbrowse, vfset) (Also thanks to binocular222)
Updated July 12, 2014
* Updated icons (paper)
Updated September 22, 2013
* Updated icons
Updated April 19, 2013
* Changed code from Self(caption) to Self(icon) now that the Self(icon) bug is fixed:
http://www.xyplorer.com/xyfc/viewtopic. ... 042#p85009
http://www.xyplorer.com/xyfc/viewtopic. ... 088#p85088
Updated April 17, 2013
* No longer rely on NirCMD
Updated the script following everyone's suggestions and tips. Thanks!

As many of you know, you are able to use XYplorer's internal icons. As of version 16.60.0303 Beta, the current list of icon references is:
{drives_avl}, {drives_cdr}, {drives_fix}, {drives_net}, {drives_rem}, autorefresh, back, backupto, bfop, browsenetwork, calcfosi, cat, cfi, cks, clip, closetab, cofi, conf, copy, copypath, copyto, ctb1, cucopy, cut, del, dosbox, dp, dp12, dpcopyto, dpmoveto, drives, exitnosave, favfiles, favs, find, findlabel, flatview, fore, fp, fvs, go, goprev, grid, gvf, gvfset, hideos, hightree, home, hotlist, icf, labels, lasttarget, locktab, lstmgmt, mansort, meta, minitree, moveto, mru, myco, netmap, netunmap, newfolder, newtab, nuke, openwith, panellast, panelmax, panelshow, paper, paste, pp, preview, previewfull, props, qfv, qns, qnstgl, queue, redo, refresh, refreshsus, rename, rfo, savesett, select, sfs, shellprops, showfolders, showhidden, showsystem, sort, steps, sticky, stop, syncbrowse, syncscroll, tablist, tabsets, tagsadd, tagsfind, tagsrmv, tagsset, tpt, treeshow, tsf, udc, undo, up, vfset, viewdetails, viewlist, views, viewthumbs, visualfilter, wipe, zoomin, zoomout
I have made a little script that displays all of these icons. You can then simply select the icons that you want and it will copy the reference code into your clipboard.

For example:
XYIconCopy.png
XYIconCopy.png (12.19 KiB) Viewed 6392 times
I chose the Path icon. I click on it and ":copypath" will be copied into my clipboard. Makes things a bit easier if you like to use XYplorer's internal icons. Enjoy!

Setup
Extract where you want. That's it!

References
http://www.xyplorer.com/xyfc/viewtopic. ... 410#p61410

On a side note, Don, do you think if it's possible to allow us to use the mouse scroll wheel for long lists such as these?
Attachments
XYIconCopy.xys
July 12, 2014
(4.17 KiB) Downloaded 377 times
XYIconCopy.xys
September 22, 2013
(4.13 KiB) Downloaded 315 times
XYIconCopy.xys
New version after recent Self(icon) fix. There's really no need to upgrade to this version if you use the version below since functionality is the same.
(4.06 KiB) Downloaded 308 times
XYIconCopy.xys
Older Version. Uses Self(caption) Due To Self(icon) Bug.
(4.36 KiB) Downloaded 307 times
Last edited by Enternal on 26 Apr 2016 08:13, edited 12 times in total.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: XYIconCopy (April 17, 2013)

Post by TheQwerty »

Why not eliminate the dependence on nircmd by using the CopyText SC?

If it weren't for this mysteriously just discovered bug you could even use Self('icon') to retrieve the icon.
Enternal wrote:On a side note, Don, do you think if it's possible to allow us to use the mouse scroll wheel for long lists such as these?
Request seconded. 8)

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

Re: XYIconCopy (April 17, 2013)

Post by admin »

TheQwerty wrote:
Enternal wrote:On a side note, Don, do you think if it's possible to allow us to use the mouse scroll wheel for long lists such as these?
Request seconded. 8)
The menu is owned by Windows. I don't think you can wheel it.
FAQ | XY News RSS | XY X - Forum users with the Windows version and screen scaling percentage in the Location field of their profiles get priority support.

klownboy
Posts: 4369
Joined: 28 Feb 2012 19:27
Location: Windows 11, 24H2 Build 26100.4770 at 100% 2560x1440

Re: XYIconCopy (April 17, 2013)

Post by klownboy »

It's been awhile so you probably didn't run across this old post, but Muroph made a complete list of icons (at the time - 2009) and used the copytext command to get the icon in the clipboard. See http://www.xyplorer.com/xyfc/viewtopic. ... 363#p39363

Enternal
Posts: 1174
Joined: 10 Jan 2012 18:26

Re: XYIconCopy (April 17, 2013)

Post by Enternal »

TheQwerty wrote:Why not eliminate the dependence on nircmd by using the CopyText SC?

If it weren't for this mysteriously just discovered bug you could even use Self('icon') to retrieve the icon.
Enternal wrote:On a side note, Don, do you think if it's possible to allow us to use the mouse scroll wheel for long lists such as these?
Request seconded. 8)
Oh! I did not think about that for some reason. Anyway I'm going to update the program soon to do that. Also I changed the caption to ":icon" just so that I can use CopyText Self(caption). I was initially going to use that to temporarily bypass that bug but decided not to since the caption now is a bit clearer and more consistent with what will be copied into the clipboard if they choose it.
admin wrote:
TheQwerty wrote:
Enternal wrote:On a side note, Don, do you think if it's possible to allow us to use the mouse scroll wheel for long lists such as these?
Request seconded. 8)
The menu is owned by Windows. I don't think you can wheel it.
Aww... darn. That kinds of sucks.
klownboy wrote:It's been awhile so you probably didn't run across this old post, but Muroph made a complete list of icons (at the time - 2009) and used the copytext command to get the icon in the clipboard. See http://www.xyplorer.com/xyfc/viewtopic. ... 363#p39363
Yeah I did not run across that since it's waaay old. However at least mine is the most up to date for now since it includes all the recent buttons that Don have added since 2009.

Enternal
Posts: 1174
Joined: 10 Jan 2012 18:26

Re: XYIconCopy (September 22, 2013)

Post by Enternal »

Updated and now includes the icon for the new awesome Instant Color Filters (as well as several others)!

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: XYIconCopy (April 17, 2013)

Post by TheQwerty »

admin wrote:
TheQwerty wrote:
Enternal wrote:On a side note, Don, do you think if it's possible to allow us to use the mouse scroll wheel for long lists such as these?
Request seconded. 8)
The menu is owned by Windows. I don't think you can wheel it.
Ahem... Don, since you now have a menu-like control that does allow scrolling, perhaps it could be used for script menus as well?

Please? :wink:

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

Re: XYIconCopy (September 22, 2013)

Post by admin »

I have a couple of cool plans wth that control. When I get to it I can also add it to scripting...
FAQ | XY News RSS | XY X - Forum users with the Windows version and screen scaling percentage in the Location field of their profiles get priority support.

klownboy
Posts: 4369
Joined: 28 Feb 2012 19:27
Location: Windows 11, 24H2 Build 26100.4770 at 100% 2560x1440

Re: XYIconCopy (September 22, 2013)

Post by klownboy »

Thanks Enternal. One more you could add on the next update

Code: Select all

":dpv|:dpv" copytext Self(icon);
Edit: and I almost forgot one of Don's better new icons since I love to paint.

Code: Select all

":icf|:icf" copytext Self(icon);
Thanks Don, a scrolling feature would be kind of cool. Hovering activation in a menu would be even cooler. :biggrin:

Enternal
Posts: 1174
Joined: 10 Jan 2012 18:26

Re: XYIconCopy (September 22, 2013)

Post by Enternal »

klownboy wrote:Thanks Enternal. One more you could add on the next update

Code: Select all

":dpv|:dpv" copytext Self(icon);
Edit: and I almost forgot one of Don's better new icons since I love to paint.

Code: Select all

":icf|:icf" copytext Self(icon);
Thanks Don, a scrolling feature would be kind of cool. Hovering activation in a menu would be even cooler. :biggrin:
Oh! They're actually already been there. dpv is actually the same as dv and icf was added in the most recent update back in September. Thanks though! :biggrin:

@ Don
Oooh. Looking forward to that!

klownboy
Posts: 4369
Joined: 28 Feb 2012 19:27
Location: Windows 11, 24H2 Build 26100.4770 at 100% 2560x1440

Re: XYIconCopy (September 22, 2013)

Post by klownboy »

So sorry Enternal, I thought I was losing my mind because I know I didn't see those two icons when I ran the script, but I figured out what happened. I downloaded what I thought was the newest version at the bottom of the first post because the note above it said, "File comment: New version...", but obviously it wasn't. The one at the top of the post is the latest. You may want to get rid of the reference to "new" there and instead say, "newer but old version". :)

Enternal
Posts: 1174
Joined: 10 Jan 2012 18:26

Re: XYIconCopy (September 22, 2013)

Post by Enternal »

NEW and EXCITING new PAPAER AIRPLANCE icon!!
FUN and CHEAP Entertainment For ALL!!
GREAT for KIDS


It's a boring upgrade so got to make it exciting somehow... :whistle:

No. New update simply adds a reference to the icon for the new awesome virtual folders implemented by Don as of version 14.30.0000 Stable! Look at first post!

Enternal
Posts: 1174
Joined: 10 Jan 2012 18:26

Re: XYIconCopy (April 25, 2016)

Post by Enternal »

Updated script now to include all new icons up to version 16.60.0303. Yes that means there is PIZZA

Also thanks to binocular222 for actually reminding me to update and upload!

http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=15790

Post Reply