topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday February 28, 2021, 3:49 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: AppFolderIcon thread  (Read 328 times)

publicdomain

  • Moderator
  • Joined in 2019
  • *****
  • Posts: 140
  • Call me Vic!
    • View Profile
    • PublicDomainGift.com
    • Read more about this member.
    • Donate to Member
AppFolderIcon thread
« on: February 15, 2021, 03:26 PM »
AppFolderIcon v0.1.0

Sets icon from .exe files on their containing folder.

AppFolderIcon_v0-1-0.png



Download @ DCmembers: https://www.dcmember...ppfoldericon-v0-1-0/
Latest release: AppFolderIcon v0.1.0
Extend your support: PayPal.me/victorvls || Patreon.com/publicdomain || DonationCredits
Email: publicdomainvicgmail.com

Currently at: Coding URLister v0.3.0, Holy Stop v0.1.0, AppFolderIcon v0.2.0
--Victor
« Last Edit: February 15, 2021, 04:25 PM by publicdomain »

kunkel321

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 543
    • View Profile
    • Donate to Member
Re: AppFolderIcon thread
« Reply #1 on: February 15, 2021, 05:36 PM »
Man this is awesome!  I have a back-up of my Portable Apps folder.  31 first level subfolders, but if you dig to the bottom of each directory, there are 333 of them.  It takes the AppFolderIcon between 2-3 seconds to process them.  Pretty good.  The algorithm does guess the names pretty good, but there are a couple of surprising misfires of the Levenshtein_distance math.  Do you want me to post them for fine-tuning purposes, or is this that can't really be adjusted anyway?

Also, what does the Delete inis command do?  I'm guessing that windows would just rebuild them...  So that command probably puts them all back to their defaults? 

publicdomain

  • Moderator
  • Joined in 2019
  • *****
  • Posts: 140
  • Call me Vic!
    • View Profile
    • PublicDomainGift.com
    • Read more about this member.
    • Donate to Member
Re: AppFolderIcon thread
« Reply #2 on: February 15, 2021, 06:07 PM »
Do you want me to post them for fine-tuning purposes, or is this that can't really be adjusted anyway?

By all means post them! The idea is to have this program suit your needs/satisfy you in full! This way we also help others in need of the same functionality as well :)

Also, what does the Delete inis command do?  I'm guessing that windows would just rebuild them...  So that command probably puts them all back to their defaults?

You guessed right. Windows resets them all back to folder defaults.

[...]it intelligently determines which exe file is the most likely to contain the desired icon image[...]

There are three algos being used in succession:

- Levenshtein distance.
- Damerau-Levenshtein distance.
- Hamming distance.

(Source line)

We can do a new version with manual icon selection for the .exe names missed by the algorithms.

I'm thinking about a Graphical List with possible icons for single-click selection... Let's do this!
 :Thmbsup:
Vic
Latest release: AppFolderIcon v0.1.0
Extend your support: PayPal.me/victorvls || Patreon.com/publicdomain || DonationCredits
Email: publicdomainvicgmail.com

Currently at: Coding URLister v0.3.0, Holy Stop v0.1.0, AppFolderIcon v0.2.0
--Victor
« Last Edit: February 15, 2021, 06:13 PM by publicdomain »

kunkel321

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 543
    • View Profile
    • Donate to Member
Re: AppFolderIcon thread
« Reply #3 on: February 15, 2021, 06:48 PM »
I admire your dedication to the project!  But don't hard-code specific app names in there for me...  It would be bloat.   

Here is a screenshot of some of the misfires...  Actually I guess you could hard-code it to find "AutoHotkey." That is a fairly common app and lots of people probably have it.  The two Insofta apps are probably less common--don't bother with worrying about those.  As I was making the screenshot, I realized that "Insofta" is similar to "uninstall." No doubt that is what caused the error. 

Also, these are on a thumb drive, so I took the four bottom ones (which were skipped) and put them in a folder on my desktop just to see if it would make a difference.  AppFolderIcon can only see two of the folders(?) So that was weird.  I'll attempt to zip the folder and send if via PM. 

Other thoughts:  Maybe have it ignore any "Uninstall.exe?"  I notice (with my own setup at least) that the folder often has a version number, but the program exe often does not.  So maybe have it ignore numbers and the word "beta" or "version" in the folder name(???)  Not sure on that though...  EDIT: Maybe also ignore the word "portable." /

appfoldericon shot 2-15-2021.pngAppFolderIcon thread
« Last Edit: February 15, 2021, 07:03 PM by kunkel321 »