Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

Path.NativePathToFilemakerPath

Component: Path
Version: 2.4
Mac OS X: Works
Windows: Works

MBS( "Path.NativePathToFilemakerPath"; path )

Parameters

Parameter Description Example value
path The native file path. "/Users/test/Desktop/picture.jpg"

Result

Returns the filemaker path.

Description

Converts a native path to a Filemaker path useful for "filemac:" and "filewin:" path specification.
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".

Examples

Convert path to filemaker path:

MBS( "Path.NativePathToFilemakerPath"; "/Users/test/Desktop/picture.jpg")

Feedback: Report problem or ask question.




Links
MBS Realbasic tutorial videos - Pfarrgemeinde Ministranten Nickenich