Platforms to show: All Mac Windows Linux Cross-Platform
Back to MDQueryMBS class.
MDQueryMBS.kMDQueryReverseSortOrderFlag=1
Type | Topic | Plugin | Version |
const | Spotlight | MBS MacOSX Plugin | 11.2 |
Sort the attribute in reverse order.
Available on Mac OS X 10.7 or later.
MDQueryMBS.kMDQueryScopeAllIndexed="kMDQueryScopeAllIndexed"
Type | Topic | Plugin | Version |
const | Spotlight | MBS MacOSX Plugin | 9.6 |
A constant, which can be passed in the scopeDirectories array, to specify that the search should be restricted to indexed, locally mounted volumes and indexed user mounted remote volumes, plus the user's home directory.
MDQueryMBS.kMDQueryScopeComputer="kMDQueryScopeComputer"
Type | Topic | Plugin | Version |
const | Spotlight | MBS MacOSX Plugin | 9.6 |
A constant, which can be passed in the scopeDirectories array, to specify that the search should be restricted to all locally mounted volumes, plus the user's home directory (which may be on a remote volume).
MDQueryMBS.kMDQueryScopeComputerIndexed="kMDQueryScopeComputerIndexed"
Type | Topic | Plugin | Version |
const | Spotlight | MBS MacOSX Plugin | 9.6 |
A constant, which can be passed in the scopeDirectories array, to specify that the search should be restricted to indexed, locally mounted volumes, plus the user's home directory (which may be on a remote volume).
MDQueryMBS.kMDQueryScopeHome="kMDQueryScopeHome"
Type | Topic | Plugin | Version |
const | Spotlight | MBS MacOSX Plugin | 9.6 |
A constant, which can be passed in the scopeDirectories array, to specify that the search should be restricted to the volume and directory that contains the current user's home directory
MDQueryMBS.kMDQueryScopeNetwork="kMDQueryScopeNetwork"
Type | Topic | Plugin | Version |
const | Spotlight | MBS MacOSX Plugin | 9.6 |
A constant, which can be passed in the scopeDirectories array, to specify that the search should include all user mounted remote volumes.
MDQueryMBS.kMDQueryScopeNetworkIndexed="kMDQueryScopeNetworkIndexed"
Type | Topic | Plugin | Version |
const | Spotlight | MBS MacOSX Plugin | 9.6 |
A constant, which can be passed in the scopeDirectories array, to specify that the search should include indexed user mounted remote volumes.
MDQueryMBS.kMDQuerySynchronous=1
Type | Topic | Plugin | Version |
const | Spotlight | MBS MacOSX Plugin | 9.6 |
Block during the gathering phase. If this parameter is true, the function will not return until the query has finished gathering the initial results. The run loop will run in the default mode, which will allow anything registered in that mode with this run loop to execute as well. If this parameter is false, the function returns immediately after starting the query asychronously.
MDQueryMBS.kMDQueryWantsUpdates=4
Type | Topic | Plugin | Version |
const | Spotlight | MBS MacOSX Plugin | 9.6 |
When set, after gathering the initial results the query will watch for changes in the system which should update the list of results. This can be changes which cause new files to now match the query, or changes which cause files in the result list to continue to match, or no longer match, the query. Files which begin to match the query are added to the result list, and files which no longer match the query expression are removed from the result list.
Currently, this parameter is ignored if the synchronous parameter is true. This is subject to change, and you should always pass in the value you want here.
The items on this page are in the following plugins: MBS MacOSX Plugin.