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

MetaDataQuery.PathAtIndex

Queries path of an item in results.

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

Parameters

Parameter Description Example
Query The reference number of the query. $query
Index The index of the item.
Range from 0 to MetaDataQuery.ResultCount-1.
0

Result

Returns text or error.

Description

Queries path of an item in results.

Examples

Put paths in records:

Set Variable [ $index ; Value: 0 ]
Loop
    New Record/Request
    Set Variable [ $path ; Value: MBS( "MetaDataQuery.PathAtIndex"; $Query; $Index ) ]
    Set Field [ Search Applications::FilePath ; $path ]
    Commit Records/Requests [ With dialog: Off ]
    # next
    Set Variable [ $index ; Value: $index + 1 ]
    Exit Loop If [ $index$count ]
End Loop

See also

Example Databases

Blog Entries

This function checks for a license.

Created 16th December 2017, last changed 9th November 2021


MetaDataQuery.List - MetaDataQuery.Paths