FindInFiles

Method of IApplication

Finds text in specific file or directory files

Return Value

JavaScript

var ppFileRanges = Application.FindInFiles(strText, strPath, dwFlags, dwFlagsEx, strInclude, strExclude);

Visual Basic Script

ppFileRanges = Application.FindInFiles strText, strPath, dwFlags, dwFlagsEx, strInclude, strExclude

C++

CComPtr<IFileRanges> pFileRanges;
HRESULT hr = Application.FindInFiles(strText, strPath, dwFlags, dwFlagsEx, strInclude, strExclude, &pFileRanges);