lupusbalo Posts: 76
27/01/2017
|
Surprisingly I found that there are multiple (and identical) icons for the same program, They are named "thatprog.exe_NN.ico" (record is XmediaRecode which has 21 icons!!)
So that's nearly 4000 icons in the icons folder! It's not a real problem at the moment as they are small files (see Note), but... obviously I have an update issue!!
I found no related post in the forum
Any clue??
Lupusbalo
(Note) I'll let you know as soon as I need more Disk Space!! edited by lupusbalo on 27/01/2017
|
|
link
|
sl23 Posts: 285
27/01/2017
|
I noticed that bloat some time ago, didn't think anything of it though. I'm gonna check this later see how many icons I've collected! ;-)
|
|
link
|
Drakkn Posts: 22
28/01/2017
|
I ran into this same problem. It turned out to be a problem for me because when mine got over about 4,500 icons the configuration interface wouldn't let me add items anymore. I cleaned it down to 1 icon per item (took an incredibly long time) and it became usable again. I've always had a weird problem with the icon cache because of the amount of syitems I have but that shut me down. It would be nice to have a mechanism like "scanning for unlinked items" that scanned for unused icons but I think it would be nearly impossible. I had to go through the icons folder and reduce them all to 1 copy. Then I had to go through the configuration interface and relink the programs with the single icons.
|
|
link
|
Gianluca Administrator Posts: 1274
28/01/2017
|
This feature is simple to implement but it has a really low priority and requires a lot of time. Unfortunately I have to choose what to implement and what don't.
Anyway to partially solve your problem you can follow this advise. Statistically the most useless icons are the identical ones because among the group you can find one linked and the others unlinked. It takes only a few minutes to kill them all. Then when you find a program without an icon you can use SyMenu to extract it again. I had 847 icons before this activity and 570 after. In one minute.
But I have another solution. SyMenu is extensible and a plugin to delete the unlinked icons will be a really useful one. So if someone wants to try, please contact me in private.
|
|
link
|
VVV_Easy_Symenu Posts: 159
29/01/2017
|
I do a littke AutoHotKey script for help to clean the "orphan" icons. Run, put the SyMenu work folder, ¡Go! and the SyMenu_Orphan_Icons program read the Icons folder, search if the ico file name is present in the SyMenuItem.xml file and, if not present, then list and move the icon to a SPSSuite\SyMenuSuite\_Trash\_OrphanIcons\ (in verbose mode it list (but not move) the active icons too). I try it several times but for your own tranquillity make a copy of the Icons folder before use this Ahk script. . edited by VVV_Easy_Symenu on 29/01/2017
|
|
link
|
Gianluca Administrator Posts: 1274
30/01/2017
|
Wow VVV_Easy_Symenu. It's a fantastic solution and it works.
If you want, and above all if you have further time to dedicate to this script, I can give you some hints to improve the user experience.
But there is one important thing you should anyhow change. I have some doubts about the backup folder you choose. The _OrphanIcons folder is inside the SPS suite folder and it seems that the trashed icons are only the suite's ones. You could create your trash folder directly under the SyMenu root calling it IconsTrashed to leave it near the original Icons folder. It become easier to remember where the trashed icons are and eventually to restore some of them.
Thank you very much for another useful piece of software
|
|
link
|
lupusbalo Posts: 76
30/01/2017
|
I'd prefer AutoIt ............ but I'll make an exception for that "brillian/usefullt" AutoHotKey script
Thanks VVV_Easy_Symenu
LupusBalo
|
|
link
|
Drakkn Posts: 22
01/02/2017
|
This plugin is really great! Wow I wish I had this a few months ago when I manually went through over 4,000 icons!! lol Thank You!
|
|
link
|
sl23 Posts: 285
05/02/2017
|
Thanks for this, I just checked and found 1470 icons, after using this script I now have 453!
|
|
link
|
Gianluca Administrator Posts: 1274
06/02/2017
|
@VVV_Easy_Symenu
I have an idea. Since your application is really usefull why don't you publish it in the SyMenu Suite?
You're already publishing the SyMenu Published App Track. You could call this one "SyMenu Orphan Icons cleaner" or something similar. In this way your application will have a greater audience because this forum is attended only from a minor part of the SyMenu user base. Otherwise than the PAT this application is really useful for any SyMenu user.
|
|
link
|
VVV_Easy_Symenu Posts: 159
06/02/2017
|
¡I'm almost embarrassed to publish this application! Thank you very much for the welcome. A great advantage of including it as SPS is that it can auto detect the SyMenu folder. I attach it here and I create the SPS: SyMenu Orphan Icons Cleaner. ;CHANGELOG: ; V.2.0.-2017.02.06: First version in SPS App: It allows auto detect the SyMenu folder ; V.1.0.-2017.01.27: First version
|
|
link
|