Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conveniently generate and export only 1 hash (via context menu) #181

Open
redactedscribe opened this issue Jul 16, 2023 · 0 comments
Open

Comments

@redactedscribe
Copy link

As noted in #59, it's possible to Shift+Click to quickly export a single hash from the list of already generated hashes. This is useful, but it seems that there's no way to simply generate one hash and export it:

Every time the hashes pop-up / tab opens, all (multiple) hashes are calculated, which is slow on multi-gigabyte files. I only want one algorithm to run in those cases and it's a pain to go into the settings, uncheck my preferred algorithms (which typically run quickly on most small to medium-sized files), and close and re-open the pop-up / Properties window just to generate and export the single hash. Afterwards, my preferred algorithms need to be re-enabled for the purposes of everyday use. Again, tedious.

Example implementation:

(In bold is the TLDR.)

  • Convert the "Hashes" right-click Explorer context menu option into a menu and provide "Calculate" at the top (to open the usual OHT pop-up window). Under this, a divider, and then a list of the enabled hashing algorithms beneath it.
  • A submenu at the bottom of the list named "Other Algorithms" which gives access to all of your disabled algorithms.
  • Clicking any enabled or disabled algorithm runs only that algorithm and displays the usual OHT pop-up with only the one hash visible. From here we can click "Export...".
    • Clicking any of these algorithms in the context menu while holding Shift should perform a quick export, circumventing the OHT pop-up altogether.
    • Clicking "Calculate" at the top while holding Shift could export all enabled algorithms to their own automatically named files.
      • Fitting with this, an "[All]" option in the "Export to sumfile" list of the OHT pop-up should be added to allow each listed (i.e. enabled) hash to have the same export capability as the context menu "Calculate" option.
  • A menu option just after the divider at the top named "Custom Export..." which allows selection from a list of all available algorithms, which then exports each resulting hash to an automatically named file.
    • Clicking an "Export" button on this new selection UI while holding Shift should again perform a quick export, otherwise, show a Save As window for each hash being exported.

This kind of design would be a great help when needing only one or two hashes of common or uncommon use to be calculated and exported without fiddling with enabling and disabling options. An alternative approach could be some kind of profiles system, but at minimum, I'd just really like a convenient method to be able to calculate and export one single hash.

Thanks!

OHT 3.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant