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
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.
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

Alextp wrote:Checked: i cant replace it w/o converter (XDoc2txt) update.
I see. xdoc2txt version 1.41 is already available but still contains old zlib.
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
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

Hi

after a long time I tried again to configure this tool - and still failed ...

I tried some configurations ...

Code: Select all

[Options]
Log=1
ShowErrors=1
[Converters]
;GetTextIFilter - commented by default
;
IFILTER=Conv\IFilter\GetTextIFilter.exe -s "{In}" -d "{Out}" -l
DWG=IFILTER
PDF=IFILTER
The result is a "Not responding" TC which has to be killed via Cancel. Same result with this config:

Code: Select all

[Options]
Log=1
ShowErrors=1
;;;;;;;; Usage:
;;;;;;;; GetTextIFilter /(-)s <full path to source file> /(-)d <path to destination file> [/(-)l enable errors log] [/(-)? | /(-)h | --help print usage]

[Converters]
DWG=C:\PROGRA~1\COMMON~1\AUTODE~1\ACDWGF~1\ACDWGF~1.EXE -s "{In}" -d "{Out}" -l
Other tries (to start a DLL, to skip some parameters, ..) brings up a clear error message.

I have some filters, e.g. this ones:

Code: Select all

==================================================
Dateiname         : AcDwgFilter16.dll
Beschreibung      : AcDwgFilter
Produktname       : AutoCAD component
Dateiversion      : 18.1.49.0.0
Version           : 18.1.49.0.0
Anbieter          : Autodesk, Inc.
Pfad              : C:\Program Files\Common Files\Autodesk Shared\AcDwgFilter\AcDwgFilter16.dll
CLSID1            : {7F0A7E9C-4760-4db0-A875-B7BAEC4BA137}
CLSID2            : {8E77F05A-5BE0-463a-B07C-06C16F525297}
Registry-Uhrzeit  : 08.10.2010 08:19:19
==================================================


==================================================
Dateiname         : AcroRdIF.dll
Beschreibung      : PDF Filter
Produktname       : PDF IFilter
Dateiversion      : 9.5.1.283
Version           : 9.5.1.283
Anbieter          : Adobe Systems, Inc.
Pfad              : C:\Program Files\Adobe\Reader 9.0\Reader\AcroRdIF.dll
CLSID1            : {F6594A6D-D57F-4EFD-B2C3-DCD9779E382E}
CLSID2            : {E8978DA6-047F-4E3D-9C78-CDBE46041603}
Registry-Uhrzeit  : 08.10.2010 08:34:31
==================================================

==================================================
Dateiname         : XCShInfo.dll
Beschreibung      : PDF-XChange PDF IFilter Handler
Produktname       : PDF-XChange Shell Extention
Dateiversion      : 2.5.0205.0000
Version           : 2.5
Anbieter          : Tracker Software Products (Canada) Ltd.
Pfad              : C:\Program Files\Tracker Software\Shell Extensions\XCShInfo.dll
CLSID1            : {DDA60C00-9937-453d-99E4-15967383ACE8}
CLSID2            : {1AC7939A-F487-4C8D-97AA-062FCA5DFA3C}
Registry-Uhrzeit  : 15.08.2012 10:44:14
==================================================

Thanks a lot for your help.

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 »

I can't help wth GetTextIFIlter + DWG. I don't have IFilters and didn't test. I can say u can try usual runnin from cmd.exe command line. Does usual running (of Gettextifilter) give output file?
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

Alextp wrote:...Does usual running (of Gettextifilter) give output file?
Yes. This brings a fine text-file.

Code: Select all

"d:\Program Files\totalcmd\Plugins\Inhalt_WDX\TextSearch\Conv\IFilter\GetTextIFilter.exe" -s "d:\123.dwg" -d "d:\xx\abc.txt" -l
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 »

Strange. maybe OLE init missed..
Post Reply