Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Files.FileUTITypes
Queries uniform type identifiers for this file.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Files | 2.9 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ❌ No |
MBS( "Files.FileUTITypes"; Path ) More
Parameters
Parameter | Description | Example |
---|---|---|
Path | Native path to the file to check. | "C:\test\me.jpg" |
Result
Returns file types as text or error.
Description
Queries uniform type identifiers for this file.For example a rtf file has the type public.rtf and going up the chain of types, it also has "public.text, public.data, public.item and public.content. A jpg image has types public.jpeg, public.image, public.data, public.item and public.content. So if you look for "public.image" in the types, you can identify that the file is an image file.
Examples
Queries types of a file
MBS( "Files.FileUTITypes"; "C:\test.txt" )
Example Databases
Blog Entries
FileMaker Magazin
This function checks for a license.
Created 18th August 2014, last changed 18th August 2014
