Brian Dunning's FileMaker Custom Functions

FilePathToHFS ( FMFilePath )

Convert from FileMaker filepath to HFS filepath (superseded by FilePathToOS)

  Average rating: 4.1 (36 votes) Log in to vote

Tom Robinson   Tom Robinson

Share on Facebook Share on Twitter

  Sample input:
FilePathToHFS ( "file:/Baculus/Users/Shared/Temp/U%2Fntitled.fp7" )
  Sample output:
Baculus:Users:Shared:Temp:U/ntitled.fp7

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

***** Superseded by FilePathToOS *****

Convert the results from Get(FilePath) (‘file:’), a path in a file container field (‘filemac:’), or an image container field (‘imagemac:’) to a form suitable for AppleScript. Handles both absolute and relative paths.

 

Comments

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.