11 days ago I get that idea (from where ?) and was lucky enough to be able to get the How To (get the file Meta Data for macOS).
Also, it was my first compile and it worked even if I forgot to pass the parameters (so no parameter returns the whole lot of Meda Data).
I also forgot to fill the PopupMenu and I was not able to really found the code for enabling this for Linux and WIndows.
In the mean time, you can see what kind of meta data is available for your files.
Click in the default Icon (below the Apple logo) or drop the item (one) into the default Icon and you will get all Meta Data.
For all items, you will get logical size and physical sizes,
for images, you will get the number of pixels, the size in Pixels (width, height), etc.
public.text (UTI ?), etc.
and plenty other things.
BTW: I was so happy to have a good momment that I saved the project, build the application and never go back to it since.
The link to download the macOS version is here .
Enjoy.
For sqlite, I get:
kMDItemContentType = “com.xojo.database.sqlite”
kMDItemContentTypeTree = (
“com.xojo.database.sqlite”,
“public.database”,
“com.xojo.database”,
“public.data”,
“public.item”
)