Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

MetaDataQuery.IsGathering

Query whether gathering.

Component Version macOS Windows Linux Server iOS SDK
MetaDataQuery 8.0 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "MetaDataQuery.IsGathering"; Query )   More

Parameters

Parameter Description Example
Query The reference number of the query. $query

Result

Returns 1, 0 or error.

Description

Query whether gathering.
A Boolean value that indicates whether the receiver is in the initial gathering phase of the query.

Examples

Wait for the search to finish:

Loop
    Pause/Resume Script [ Duration (seconds): ,2 ]
    Exit Loop If [ MBS( "MetaDataQuery.IsGathering"; $Query ) = 0 ]
End Loop

See also

Example Databases

Blog Entries

This function checks for a license.

Created 16th December 2017, last changed 16th December 2017


MetaDataQuery.GetScriptName - MetaDataQuery.IsStarted