Brian Dunning's FileMaker Custom Functions

Write2Dropbox

Sets up a file path to Dropbox in its default location on Mac or Windows

  Be the first to rate this function Log in to vote

Samuel Toombs   Samuel Toombs - Show more from this author
Goodfaith Solutions

Share on Facebook Share on Twitter

  Sample input:
Write2Dropbox & "YOUR_FOLDER/Your_Filename.ext"
  Sample output:
filemac:/Macintosh HD/Users/HOME_FOLDER/Dropbox/MY_FOLDER/My_Filename.ext" or
filewin:/Macintosh HD/Users/HOME_FOLDER/Dropbox/MY_FOLDER/My_Filename.ext"

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

As there is no FM function to write to a user's Home folder, this is a work around based on the Get (DesktopPath) function.

As long as Dropbox is in the default location within the home directory (Mac or windows), this function will setup the first part of the file path to write to Dropbox in the current user's home folder. Simply append any further folders and a filename to the function.

 

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: