Brian Dunning's FileMaker Custom Functions

FMPathToSystemPath ( FPath )

Converts a FileMaker filepath to a system filepath

  Average rating: 3.0 (2 votes) Log in to vote

Kris Weyling   Kris Weyling
Digital Fusion Ltd.
http://teamdf.com

Share on Facebook Share on Twitter

  Sample input:
FMPathToSystemPath ( Get ( DocumentsPath ) )
  Sample output:
/Users/kris/Documents/

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Converts a FM file-path to a system file-path, wrote it so I had an easy adaptor to plug filepaths into for use with BaseElements file functions

 

Comments

colin   colin, SoCal
Feb 26, 2018
Thank you for this. Please note there is a bug.

for windows:
ABS (Get ( SystemPlatform )) = 2
 
Kris   Kris, Christchurch
Feb 27, 2018
You're absolutely right, thanks for pointing that out :)
 

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.