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 - Show more from this author

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.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: