topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday December 13, 2024, 8:46 pm
  • 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: This is probably somewhat outside of the scope of a coding snack -- though it wo  (Read 5474 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
This is probably somewhat outside of the scope of a coding snack -- though it would make a terrific NANY application.

The idea is to make a commandline utility that can invoke one of the right-click file/folder context menu shell extensions on a file/folder.

That is, there are some programs / shell menu extensions that can only be accessed interactively from a file explorer tool.  For example, right clicking on a file to upload an image to an online gallery, or selecting a file for a file comparison tool.

These shell extensions do expose their info via a dll in a predictable way to file explorers, so it should be possible to load them in a comandline utility and select one not by showing the user a menu but by using a commandline tool that specifies the target file and some pattern to match against the menu to select it.

Such a utility would let us batch execute such context menu extensions programatically, and invoke them from other programs.

worstje

  • Honorary Member
  • Joined in 2009
  • **
  • Posts: 588
  • The Gent with the White Hat
    • View Profile
    • Donate to Member
You just had to ask... so I deliver.



Just posting here to make sure someone else isn't going to reinvent the Wheel.