TextSearch (Content plugin for fulltext search in DOC)

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

Alextp wrote:for IFilters, Textsearch/GetTextIFilter must be configured. Example is in Sample .ini.
Yes, and exactly this is the problem. Now I have in my INI:

Code: Select all

;DWG
DWG="c:\Program Files\Common Files\Autodesk Shared\AcDwgFilter\AcDwgFilterImp16.dll" "{In}" "/Out={Out}"
...
...
;GetTextIFilter - commented by default
;
IFILTER=Conv\IFilter\GetTextIFilter.exe -s "{In}" -d "{Out}" -l
RTF=IFILTER
DOC=IFILTER
DOT=IFILTER
PPT=IFILTER
XLS=IFILTER
HTM=IFILTER
HTML=IFILTER
DWG=IFILTER
I copied the EXE in the folder written above - And now? How to use the exe? Will it be used by TC-Search? Or is it standalone?

At the moment I have no idea ..

Peter
TC 10.xx / #266191
Win 10 x64
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

-place GetTextIF.exe into Conv\IFilter of Textsearch.
- write only 2nd line (from txt) DWG=IFILTER to .ini
- delete 1st line DWG=.....dll .....
Try search with TextSearch.
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

Hello Alex

thanks - it seem to work now. My INI is like this:

Code: Select all

[Converters]
;GetTextIFilter - commented by default
;
IFILTER=Conv\IFilter\GetTextIFilter.exe -s "{In}" -d "{Out}" -l
DWG=IFILTER
Regards

Peter
TC 10.xx / #266191
Win 10 x64
pgriffet
Junior Member
Junior Member
Posts: 66
Joined: 2003-03-01, 22:04 UTC
Location: Belgium

Post by *pgriffet »

Hi all. I try to use TextSearch but it doesn't work at all.
As I have the problem with the same TC program (TC756a running on a USB key) on XP and W7, I suppose that I'am missing something.
Actually, I just want to search in text files but this is the results with a string which is of course not present in the files.

Image: http://membres.lycos.fr/pgriffet/Textsearch.jpg

Can someone tell me what is the goal of the "search in modules" checkbox ? I don't want to search in modules but in files !
If I choose "contains" instead of "=", the result is the same.
If I check "search in modules", I have always "not files found", even if the string is present in the files.
Help !!!!!
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

you must check "Search in modules", or plugin not activated. If you check, select field "Text", prop "Contains". On screen you din't select "Text" field.

And IIRC plugin doesn't search txt files (by default)
pgriffet
Junior Member
Junior Member
Posts: 66
Joined: 2003-03-01, 22:04 UTC
Location: Belgium

Post by *pgriffet »

Hi Alex, thanks for answering.
I don't know why but on W7, the field "Property" has no choice, the field is empty. I think this is abnormal.
Do you mean it's not possible to search in text files ?
When I start a search, should I see an MS-DOS box opening to convert a doc file (if there is a doc file in the directory, of course) ?
I've tried to search for text in doc or html files but I always get "no files found". I've tried with "contains" "=" "regex" but it's the same situation.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Sutiation (W7 missing text) is abnormal. that why you get "no files found".
I've no time to test, can u pls post msg to "tc bug" forum- others confirm it or not?
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

-DOS box opening to convert a doc file
no. window is hidden.
pgriffet
Junior Member
Junior Member
Posts: 66
Joined: 2003-03-01, 22:04 UTC
Location: Belgium

Post by *pgriffet »

Hi Alex, the problem is solved on XP, I was searching in htm and not html files and text files were not handled because of the ; in the TextSearch.ini.
The "AND" operator allows to search for multiple values on different lines and that's really great.

I will post a bug report but I'm not sure which forum is the good one for a plugin.
This one : http://ghisler.ch/board/viewforum.php?f=21 ?
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

It is bug not of plugin, that "TC 7.xx bug reports"
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

Hello

last summer I had a problem to configure search to find something in DWG/AutoCAD. Microsoft Explorer found the strings, TC not.

But I could bring it to work ..
Peter wrote:
Alextp wrote:for IFilters, Textsearch/GetTextIFilter must be configured. Example is in Sample .ini.
Yes, and exactly this is the problem. Now I have in my INI:

Code: Select all

;DWG
DWG="c:\Program Files\Common Files\Autodesk Shared\AcDwgFilter\AcDwgFilterImp16.dll" "{In}" "/Out={Out}"
...
...
;GetTextIFilter - commented by default
;
IFILTER=Conv\IFilter\GetTextIFilter.exe -s "{In}" -d "{Out}" -l
RTF=IFILTER
DOC=IFILTER
DOT=IFILTER
PPT=IFILTER
XLS=IFILTER
HTM=IFILTER
HTML=IFILTER
DWG=IFILTER
I copied the EXE in the folder written above - And now? How to use the exe? Will it be used by TC-Search? Or is it standalone?

At the moment I have no idea ..

Peter
Now I tried to copy all my settings to another PC - same Windows XP, same patches, same AutoCAD, same INI, same DLLs, .. - and it does not find the strings.

Where to start for searching?

The error.log contains:

Code: Select all

09.03.2011 19:40:02 The specified module could not be found

Peter
TC 10.xx / #266191
Win 10 x64
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

Peter wrote:...Where to start for searching?...
No idea?

Peter
TC 10.xx / #266191
Win 10 x64
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

It works (as a quick test only) in TC 32 and 64 bit.

Can you please add converter for CHM and HTM in TextSearch.ini.

Also zlib.dll is version 1.1.4 from 2002. Better use current version 1.2.5 here.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

converter for CHM
It not configured, not done convertion to txt.
Also zlib.dll
Checked: i cant replace it w/o converter (XDoc2txt) update.
Post Reply