the documentation gives examples of public UTIs.
https://doc.4d.com/4Dv17R5/4D/17-R5/Select-document.301-4127312.en.html
https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/understanding_utis/understand_utis_conc/understand_utis_conc.html
it seems like public UTIs work as expected:
e.g.
C_COLLECTION($UTIs)
$UTIs:=New collection("com.adobe.pdf";"public.jpeg")
ARRAY TEXT($files;0)
$file:=Select document(System folder(Desktop);$UTIs.join(";");"select";Multiple
files;$files)
UTIs exported from info.plist (.4lbp falls into this category) are not public.
UTTypeDescription: 4D Label File
UTTypeIdentifier: com.4d.4d.labelFile
com.apple.ostype: 4DET
public.filename-extension: [4LB, 4LBP]
2019/06/25 9:17、jeff--- via 4D_Tech
<[email protected]<mailto:[email protected]>>のメール:
The issue seems to be they also say to use UTIs on Mac, which don’t seem to
work. Only extensions work.
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************