thank you for the Text Line plugin!
It is very useful for me, especially in combination with my NiftyLink addon.
Unfortunately I have a problem with displaying the content of UTF-8 files. For instance, special German characters such as äöü in UTF-8 files are not displayed correctly by Text Line. Is there a special setting for UTF-8 support?
i have text files that look like this
is it possible somehow using textline plugin to extract only specific values of defined keys?
Then i could add a new column view to only show these specific keys (but only the value...).
I researched in the readme and ini files but i cant figure out how it would work.... is it possible at all?
update: Second question:
some of these files have no extensions (the file name is just a number). I saw that it is possible to configure extensions which are read by the plugin, but what would i put there for no extension?
can support the TextLine plugin. He made a patch. Unofficial (not on my homepage)
I have already installed wdx TextLine v1.1 plugin for total commander.
So please write an ini file for the textline plugin which exports these informations into acolumn
So lets see what is the subject of the task
Filename: O0043.(no extension)
[first line] %
[second line] O0043(802-585-03-045C 2. MEG)
[third L.] ...
[fourth l.] ...
[last line] %
O0246(8020-710-02-009A ES 8020-710-02-002B 2.MEGFOGAS)
My goal is to extract the content contained in the second line in between the () marks into a column in total commander so after that I can sort my files alphabetically by this content and mass rename them in an ascending order.and than rename the second rows first word to match the file name this is valuable for Me because We have a lot of parts which require two or three setup's to complete. it is very nice for booth the operator and the owner when the programs which are held on the memory card at the shop are well organized and instantly accessible without any headache. Part of the reality is that the actual cnc controller does not see this info(the identifier of the actual part meant to be machined with) when the files stored on the memory card are displayed, only when the files are moved to the main disk of the cnc which is limited in size so things can get really ugly if nobody is in the shop whit access to Desktop Pc to find out which files are needed for the following job.
I thank any help!
I believe that this is not a big deal for a routine'd person, so please help me
Sorry for My Eanglish and Chears from Hungary!!!
You want to write into the file? Sorry, that won't work with TC.Ungie wrote:and than rename the second rows first word to match the file name
For the first part add this to your wincmd.ini:
Code: Select all
[rename] SecondLineRegEx_name=[=textline.2.win] SecondLineRegEx_ext=[E] SecondLineRegEx_search=.*\(([^\)]*) SecondLineRegEx_replace=$1 SecondLineRegEx_params=0|1|1|1|1|1|0|0|0
This will rename your files to the part in parentheses ().
Thank you again, I have learned another useful thing!