====== FindInFilesAll ====== Method of [[:scripting:api:application:start|IApplication]] ===== Description ===== Finds all matches text in the document ===== Parameters ===== * [[scripting:api:data-type:BSTR|BSTR]] **strText** * [[scripting:api:data-type:BSTR|BSTR]] **strPath** * [[:scripting:api:find|eFind]] **dwFlags** * [[:scripting:api:find-ex|eFindEx]] **dwFlagsEx** * [[scripting:api:data-type:BSTR|BSTR]] **strInclude** * [[scripting:api:data-type:BSTR|BSTR]] **strExclude** ==== Return Value ==== * [[:scripting:api:files-ranges:start|IFilesRanges]] **ppFilesRanges** ===== Syntax ===== ==== JavaScript ==== var ppFilesRanges = Application.FindInFilesAll(strText, strPath, dwFlags, dwFlagsEx, strInclude, strExclude); ==== Visual Basic Script ==== ppFilesRanges = Application.FindInFilesAll strText, strPath, dwFlags, dwFlagsEx, strInclude, strExclude ==== C++ ==== CComPtr pFilesRanges; HRESULT hr = Application.FindInFilesAll(strText, strPath, dwFlags, dwFlagsEx, strInclude, strExclude, &pFilesRanges); ===== See Also ===== [[:scripting:api:application:start|IApplication]] ~~NOTOC~~