Forum > Suggestions
A desktop search written in Lazarus?
EganSolo:
I've come across Everything, AnyTxt and DocFetcher (to name a few).
The first is a file searching tool. The next two are text searching tools.
I started thinking about what it would take to write a search tool in Lazarus.
1. It would search by file names
2. It would search inside files by building and maintaing indices.
The key challenge is to figure out how to read non-textual files such as the ones produced by Microsoft Office and other programs like it. If there were an existing package that can hook into may files format, the rest would be relatively easy.
Question: anyone has attempted to create such a tool?
cdbc:
Hi
I can chime in with this: 'Open Document Formats' like *.odt ~ text documents are a zipped bundle of mostly textfiles.
Just unzip a *.odt file and you get a directory of textfiles to peruse...
I'm not entirely sure, but I think *.docx are too, worth a test...
Regards Benny
Leledumbo:
--- Quote from: cdbc on April 06, 2025, 11:25:50 am ---I'm not entirely sure, but I think *.docx are too, worth a test...
--- End quote ---
No need, MS Office .~x files are zipped XMLs. It was an attempt to make the format open and standardized and therefore, less compatibility problems with 3rd party office suite.
CM630:
--- Quote from: EganSolo on April 06, 2025, 10:38:55 am ---...
Question: anyone has attempted to create such a tool?
--- End quote ---
All decent file managers that I have seen are written in Pascal, luckily, one of them is open source and written in Lazarus:
https://sourceforge.net/projects/doublecmd/
I suppose its search will be fine for you; if not good enough, maybe you could contribute to the project.
paweld:
@CM630 - TotalCommander 64-bit version is also written in Lazarus
Navigation
[0] Message Index
[#] Next page