ghisler(Author) wrote: 2023-10-09, 10:23 UTC
Maybe I should add more values to CtrlArrowOpenArchive?
For example
8 (added): Take PreferOpenTypes into account.
Seems like a possibility.
I must admit that I didn't understand the option PreferOpenTypes very well from reading the help text. The help text is:
[Ini File Settings part 2: Configuration N-Z] wrote:
PreferOpenTypes=+
File types for which a double click should prefer opening them via Explorer instead of as archives. By default, the most common Office xml file types like *.docx will be used.
Start the line with "+" to add more types, e.g. PreferOpenTypes=+*.ext1 *.ext2
or leave out the "+" to just the given types, e.g. PreferOpenTypes=*.docx *.xlsx
or add types behind pipe symbol | which should in any case be opened as archives, e.g. PreferOpenTypes=*.docx *.xlsx | *.pptx to open pptx files as archives.
Perhaps the following text can be used instead, if it is accurate:
PreferOpenTypes=+
This option applies to non-.zip files recognized as ZIP archives by Total Commander. When there is no default program set in Windows for opening them, double-clicking these files will open them as an archive. However, if a file type has an "open with" list in Windows and belongs to the common Office XML file types *.docx *.docm *.dotx *.dotm *.xlsx *.xlsm *.xltx *.xltm *.pptx *.pptm *.ppsx *.potx *.potm *.vsdx *.odt *.ods *.odp *.odg, then Total Commander will open the file via Explorer instead.
The PreferOpenTypes option allows you to customize this list of file types. You can start the line with "+" to add more types, e.g. PreferOpenTypes=+*.ext1 *.ext2. Leaving out the "+" will only consider the given types, e.g. PreferOpenTypes=*.docx *.xlsx.
You can also use the pipe symbol "|" to specify file types that should always be opened as archives, regardless of any file associations. For example, PreferOpenTypes=*.docx *.xlsx | *.pptx will open pptx files as archives.
And I was wondering if the following line in the HISTORY.TXT file is wrong:
HISTORY.TXT wrote:
21.10.22 Added: PreferOpenTypes: All file types after the pipe symbol | will be opened internally as an archive, even if there is an extension, e.g. PreferOpenTypes=+|*.docx (32/64)
Was the word "extension" used by mistake instead of the word "association"?