Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
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 |
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 |
Returns OK or error.
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
Created 16th December 2017, last changed 16th December 2017
MetaDataQuery.IsStopped - MetaDataQuery.Paths
Feedback: Report problem or ask question.