topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Monday December 16, 2024, 1:15 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: NANY IDEA: Find start menu orphans  (Read 17532 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
NANY IDEA: Find start menu orphans
« on: November 22, 2019, 05:57 AM »
Here's my idea: A utility that scans a set of (user configurable) directories, to find executables (.exe) for which there is no matching start menu item.

Bonus feature: Show the list with checkboxes and offer ability to create shortcuts for the items in a special subdirectory of start menu.

This utility would be useful to find programs that aren't on your start menu for some reason, maybe because they were left over from an uninstall, or maybe one is scanning their own portable app directory that one would like to have added to the start menu.



Some subtleties to this app:

1. You will have to be smart about scanning and caching the start menu shortcuts.  That is, you will have to FIRST scan the MULTIPLE start menu folders, and parse all shortcuts found, and cache the paths in a datastructure that you can do fast string lookup on.
2. And only then start scanning the directories and looking up paths.

anandcoral

  • Honorary Member
  • Joined in 2009
  • **
  • Posts: 783
    • View Profile
    • Free Portable Apps
    • Donate to Member
Re: NANY IDEA: Find start menu orphans
« Reply #1 on: November 23, 2019, 04:05 AM »
Isn't this will be reverse of FARR ?

I only use FARR and get .exe from both "Program files" and "Portable" folders to execute. Your suggestion is to make menu of the "Portable" folder and also those missing in "Program files".

Any reason for not using FARR ?

Regards,

Anand

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: NANY IDEA: Find start menu orphans
« Reply #2 on: November 23, 2019, 05:45 AM »
I envision totally different use case than FARR.
FARR is good for quickly finding something you know exists (by typing it's name).

I still use the Start Menu sometimes to browse to see what is installed on my computer.
And I think it can be helpful when the Start Menu is "complete"..

Plus I think searching for executables not in the start menu would turn up some occasional surprises, like executable tools that come with a program that you didn't know existed, or portable apps that you forgot about.

anandcoral

  • Honorary Member
  • Joined in 2009
  • **
  • Posts: 783
    • View Profile
    • Free Portable Apps
    • Donate to Member
Re: NANY IDEA: Find start menu orphans
« Reply #3 on: November 24, 2019, 04:27 AM »
Plus I think searching for executables not in the start menu would turn up some occasional surprises, like executable tools that come with a program that you didn't know existed, or portable apps that you forgot about.
Hmm..this is very good point.  :Thmbsup:

Regards,

Anand

Winkie

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 93
    • View Profile
    • Donate to Member
Re: NANY IDEA: Find start menu orphans
« Reply #4 on: December 20, 2019, 01:13 PM »
Well, here is my stab at this idea:

ISMONISM_Screenshot_20191220.pngNANY IDEA: Find start menu orphans

The source script, written in AutoHotkey: ISMONISM.ahk. (In Start Menu Or Not In Start Menu)

The script scans the Start Menu and for exe files in the Program Files folders by default. But other folders and file types can be added in the configuration section at the top of the script.

The bonus feature is on the to do list. And will stay there for a couple of days.
« Last Edit: December 30, 2019, 02:07 PM by Winkie, Reason: link fix »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: NANY IDEA: Find start menu orphans
« Reply #5 on: December 20, 2019, 01:49 PM »
Exciting!!  :Thmbsup: :Thmbsup: :Thmbsup:

anandcoral

  • Honorary Member
  • Joined in 2009
  • **
  • Posts: 783
    • View Profile
    • Free Portable Apps
    • Donate to Member
Re: NANY IDEA: Find start menu orphans
« Reply #6 on: December 21, 2019, 03:21 AM »
Ah! Oh! Winkie beats me !!
Congratulation Winkie  :Thmbsup:

I was working on it and was planing for 31 Dec, but looks like it is too late :(

Now, should I abandon it ? as two apps for same feature is of less use to community, I think.

Regards,

Anand

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: NANY IDEA: Find start menu orphans
« Reply #7 on: December 21, 2019, 03:28 AM »
It is always a very tough personal decision when to stop working on a project because of someone else's work.

NANY is as much a programming excercise for oneself as it is to make something for others, so there is room for multiple versions..
But sometimes the motivation is hard to find when another program exists..

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,629
    • View Profile
    • Donate to Member
Re: NANY IDEA: Find start menu orphans
« Reply #8 on: December 21, 2019, 06:10 AM »
+1 what mouser says.

I'd love to see & compare both, so @anandcoral, please publish your creation when you think it's ready  :Thmbsup:

anandcoral

  • Honorary Member
  • Joined in 2009
  • **
  • Posts: 783
    • View Profile
    • Free Portable Apps
    • Donate to Member
Re: NANY IDEA: Find start menu orphans
« Reply #9 on: December 21, 2019, 11:32 AM »
Thanks for the inspiration, but not to "compare". Everyone's creation is good from the point view one sees and requirement it satisfies.
Just to have another option for nearly the same requirement. Maybe some features here and there.

Will speed up now :)

Regards,

Anand

Winkie

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 93
    • View Profile
    • Donate to Member
Re: NANY IDEA: Find start menu orphans
« Reply #10 on: December 23, 2019, 11:37 AM »
Exciting!!  :Thmbsup: :Thmbsup: :Thmbsup:

Congratulation Winkie  :Thmbsup:

Thank you both.

Will speed up now :)

There's no rush. I still haven't implemented the 'create shortcuts'-feature yet... And getting to the point where anyone can use the program (e.g. change settings without editing the source)  may also take a while...

I did work on this project today, and the 'retrieve data from the ListView'-tests resulted in adding some little features. Look like this will be the GUI for the next 'release':

ISMONISM_Screenshot_20191223.pngNANY IDEA: Find start menu orphans

anandcoral

  • Honorary Member
  • Joined in 2009
  • **
  • Posts: 783
    • View Profile
    • Free Portable Apps
    • Donate to Member
Re: NANY IDEA: Find start menu orphans
« Reply #11 on: December 23, 2019, 11:41 AM »
I did work on this project today, and the 'retrieve data from the ListView'-tests resulted in adding some little features. Look like this will be the GUI for the next 'release':
Good progress  :Thmbsup:

Regards,

Anand