Platforms to show: All Mac Windows Linux Cross-Platform

Back to FolderItem class.

FolderItem.SpotLightTextContentMBS(uti as string = "") as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Spotlight MBS MacOSX Plugin 10.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Runs the spotlight metadata importer for this file and returns the text content string for the file.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.rtf")
MsgBox f.SpotLightTextContentMBS

Returns an empty string on any error.
Works well with PDF, AppleWorks, Pages, Numbers, Word, Excel, Powerpoint and all other files, where you have an importer.
Does currently not find importers inside an application.

Some examples using this method:

Blog Entries

The items on this page are in the following plugins: MBS MacOSX Plugin.


The biggest plugin in space...