Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1    Statistic  

Path.FileMakerPathToNativePath

Converts a FileMaker path useful for "filemac:" and "filewin:" path specification to a native path.

Component: Path
Version: 2.4
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: Yes

MBS( "Path.FileMakerPathToNativePath"; path )

Parameters

Parameter Description Example value
path The FileMaker file path. "/Macintosh HD/Users/test/Desktop/picture.jpg"

Result

Returns the native path.

Description

Converts a FileMaker path useful for "filemac:" and "filewin:" path specification to a native path.
The difference between a native path and a FileMaker path on Mac is, that FileMaker expects to have the Disk Name in front followed by the rest of the path. Mac OS X functions require paths from the root disk to start without volume name. Other disks have paths starting with "/Volumes/name".
This function does not work for relative paths.

Examples

Convert path to native path:

MBS( "Path.FileMakerPathToNativePath"; "/Macintosh HD/Users/test/Desktop/picture.jpg")

See also


Path.AddPathComponent   -   Path.FilePathToFileURL

Feedback: Report problem or ask question.




Links
MBS REAL studio Plugins - Pfarrgemeinde Ministranten Nickenich