This item was deprecated in version 2019r2. There is no replacement.
Creates a FolderItem from the passed FSRef.
This will only work on macOS. On Windows and Linux it raises a PlatformNotSupportedException.
For purposes of illustration, this example creates a FolderItem from an internaly-generated MemoryBlock that contains a user-selected mp4 file.
Dim f As New FolderItem Dim g As New FolderItem f = GetOpenFolderItem("video/mp4") // added using the File Types Editor If f.MacFSRef <> Nil Then g = f.CreateFromMacFSRef(f.MacFSRef) MsgBox(g.NativePath) Else MsgBox("The MacFSRef was not created.") End If
All project types on all supported operating systems.