Code: Select all
t: normal.dot content:FunctionI am now blessed with the knowledge of fine-tuning a search and THEN applying a Content term to obtain a very short list of files that suit me.
Except the Content term appears not to examine VBA coding modules within a DOCument, Template, Workbook or whatever is within the stable of MS application software.
I have attached a screenshot of one of my 964 DOT templates on which key words are visible to folks who write in VBA or even VB for that matter. (Or C++ or Python or FORTRAN or ...) I have macros in many of my 1,209 Workbooks and several of my 17,504 DOCument files.
In an earlier post I noted that "I have developed an application to open templates. And another application to harvest templates into a humongous (52MB) searchable library.". This application was written in 1999, and some programmers will recognize the urgency of searching for "that code that I wrote six months ago; where is it?"
My screenshot proves that a text-search can be made on a MSWord template file (extent:DOT). That search may be unsuccessful, but experience tells us that an unsuccessful search often triggers the clue to a better search term. This morning I tried to find my "CreateReply" macro, but that hurdle made me consider searching for "Initials" (of the person who had sent me an email) and Bingo!
My 25-year old project management application still works well, but it works best immediately after I have harvested VBA code from DOC, DOT, XLS, BAS, CLS and FRM files.
I would like the ability to harvest programming code from my unprofitable foray into LibreOffice files (ext:ODT) and Office21 files (ext:DOTM).
We know that a content search may cost time, but we know as well how to justify that time against (say) rewriting a Macro from scratch.
My conclusion is that since I, a human, can open any file on my system with a text editor (my screenshot was taken of a Notepad opening of a DOT file) and I, a human, can judge the contents of that Notepad representation, only Everything stands in the way (warm and friendly grin) of me, a human, examining a text representation of any file at all on my system.
This thread is an invitation to Everything to produce some results from a Content term in a search through any file in the established Result List. If I can see a chunk of text in Notepad, why can't Everything take a look? As soon as my eye/brain spots "Function blnEqualCI(strOne As String," a new thought is triggered in my eye/brain, and that is my responsibility.
Thanks, Chris