(translation google)
Dear author of Total Commander!
There are a few suggestions to improve the template search.
1. The most important thing. It is necessary to remove the restriction on the number of templates.
Over the years, the patterns increase, now the limit is 335 template (maybe it depends on the KB section, I can not say exactly)
The situation is such that if there are 500 configured templates, then in all the dialogues: "Search", "Selection", "Copy" ... displays the names of only the first 335 and there is no possibility to choose the latter.
But there is an interesting situation: if you enter manually the name of the last template in the dialogues, it is loaded and works, then the problem is not the restriction section, but the problem is limiting the display of names in the dialogue.
When saving a new template, it of course does not appear in the list of names, but stored in the section [Searches]
I propose to increase the number of templates to 2000
2. I propose to extend the capabilities of the command SELECTFILES so that you can immediately apply the template
SELECTFILES >Name_Search_Pattern
3. I propose to extend the capabilities of the CD command so that you can immediately apply the template
CD >Name_Search_Pattern
4. I propose to create several commands with parameters SELECTFILES like :
COPY >Name_Search_Pattern - to automatically copy the template settings
MOVE >Name_Search_Pattern - to automatically move to the settings of the template
Image: http://tc-image.3dn.ru/Image/Others/0/searches.png
------------
Attached is a file section [Searches] for testing and message in Russian WinSearch
Limitation and improvement of templates search
Moderators: white, Hacker, petermad, Stefan2
Limitation and improvement of templates search
Last edited by Andrey_A on 2016-05-18, 17:44 UTC, edited 1 time in total.
Autor TCIMG
1. Perhaps this is because of buffer size for getting names of INI keys in section. Number of keys doesn't matter, only total length of names.
2. Google still sucks to translate 'команда' as 'command' and translates it as a 'team' (completely different meaning).
3. It is hard to imagine original sense of 'download' verb for me (I can guess that it was 'загрузить' and it would be better to use 'apply' verb here). The simpler language you use, the better machine translation you get...
2. Google still sucks to translate 'команда' as 'command' and translates it as a 'team' (completely different meaning).
3. It is hard to imagine original sense of 'download' verb for me (I can guess that it was 'загрузить' and it would be better to use 'apply' verb here). The simpler language you use, the better machine translation you get...
Ghisler(Author), Вы отвечаете на другие вопросы, почему нет ответа в этой теме?
Ghisler(Author), You answer the other questions, why there is no answer in this thread?
Ghisler(Author), You answer the other questions, why there is no answer in this thread?
Autor TCIMG
- ghisler(Author)
- Site Admin
- Posts: 48077
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The limitation is the Windows ini file, it support a maximum of 64kByte per section (a section starts with [section title]).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
ghisler(Author)
And unless you can not get around this?
Regular expressions are easy to deal with it.
Here is an example of regular expressions Autoit
1. We read the file (Wincmd.ini ...) - get text
2. So we get the contents of the section [NAMESECTION] :
3. So we get the key names:
And what about the items: 2, 3 ,4 ?
And unless you can not get around this?
Regular expressions are easy to deal with it.
Here is an example of regular expressions Autoit
1. We read the file (Wincmd.ini ...) - get text
2. So we get the contents of the section [NAMESECTION] :
Code: Select all
(?mi)^\Q[NAMESECTION]\E[\r\n]+((?:[^[\r\n].*(?:[\r\n]+|$))*)
Code: Select all
(.*)_SearchFlags=
Autor TCIMG