Help: disagreement in pseudovariable lists

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Fla$her
Power Member
Power Member
Posts: 2981
Joined: 2020-01-18, 04:03 UTC

Help: disagreement in pseudovariable lists

Post by *Fla$her »

Fla$her wrote: 2024-10-11, 10:48 UTC 2ghisler(Author)
In any case, you need to make a decision on the second question with help and the variables Desktop vs Fonts, Programs, StartMenu and Startup.
Environment variables

4. Pseudo environment variables from parameters of the function ShGetSpecialFolderLocation.

DESKTOP,
PROGRAMS,
STARTMENU,
STARTUP,
FONTS,

5. Pseudo environment variables from parameters of the function SHGetKnownFolderPath.

Desktop,
As we can see, DESKTOP/Desktop is present in two lists, the rest are only in the first list, although they are in the API of the second.

It's necessary to level the situation. Either remove Desktop from the second list, or add the missing ones to it.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Help: disagreement in pseudovariable lists

Post by *ghisler(Author) »

DESKTOP is actually in both lists! I don't want to remove it because one of the functions (SHGetKnownFolderPath) isn't available on older Windows versions.
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2981
Joined: 2020-01-18, 04:03 UTC

Re: Help: disagreement in pseudovariable lists

Post by *Fla$her »

I didn't understand your explanation. If you remove it from the second list, as suggested in one of the options, it will remain in the first one. There will be no problems with the versions.
Otherwise, you will have to move on to the second option with duplication of variables marked in blue.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Help: disagreement in pseudovariable lists

Post by *ghisler(Author) »

Well, I didn't want to risk to damage the wrong function, but if you insist...
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2981
Joined: 2020-01-18, 04:03 UTC

Re: Help: disagreement in pseudovariable lists

Post by *Fla$her »

TC 11.50 b4
ENG: ✅
DEU: ⚠️
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Help: disagreement in pseudovariable lists

Post by *ghisler(Author) »

This should be fixed in beta 5, please check!
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2981
Joined: 2020-01-18, 04:03 UTC

Re: Help: disagreement in pseudovariable lists

Post by *Fla$her »

TC 11.50 b5
DEU: ✅
Overquoting is evil! 👎
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Help: disagreement in pseudovariable lists

Post by *petermad »

Moderator message from: petermad » 2024-11-06, 19:57 UTC

Moved to "TC fixed bugs" from "TC11.x bug reports (English)"
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply