[TC 11.50b6] New AssocQueryString parameter in history and help

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 16099
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

[TC 11.50b6] New AssocQueryString parameter in history and help

Post by *petermad »

The new AssocQueryString parameter is not mentioned as added in the history - the history only mentions a fix
history wrote:12.11.24 Fixed: Use AssocQueryStringW to find default association for icons on Windows 8 and newer (32/64)

Unless I have misunderstood the parameter, may I suggest that the Help:
Help wrote:AssocQueryString=1 Use AssocQueryString to find associated application
is changed to:
AssocQueryString=1 Use AssocQueryString to find icon of associated application
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50824
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.50b6] New AssocQueryString parameter in history and help

Post by *ghisler(Author) »

No, it's used to find the ProgID of the associated application, not just for finding icons, but also to find the default verb if the application when double clicking it, and for checking whether the associated application is the Microsoft Photos app. This app needs to be launched in a different way to be able to browse through all files in the same directory.

Previously I was checking the UserChoice registry key (and a few more) to find the associated application. However, this key sometimes contained the ProgID of an older version of the app which couldn't be found under HKEY_CLASSES_ROOT. AssocQueryStringW returns the ProgID of the actually installed version.

Moderator message from: ghisler(Author) » 2024-11-14, 08:26 UTC

Moved to will not be changed
Author of Total Commander
https://www.ghisler.com
Post Reply