

Note: these functions are not guaranteed or supported by. thanks! using this to dump exported container files to the logged-in user's downloads folder and automatically view them. But for now, at least in the most recent OS versions, this functions appropriately. I could see this being expanded to use get(systemversion) and get(systemplatform) as well to account for differences in windows file paths and for iOS. This will probably need updated for things like iOS and such, but the jist of it is to take the documents path, slice off the "Documents" part of the name and append "Downloads" in it's place. In the meantime I figure I'd toss this together as a way to calculate the path.


JBante tweeted a request that there be a native Get(DownloadsPath) function. Slashcount = PatternCount ( docpath "/" ) Īdj1 = If ( c1 = 1 Position ( docpath "/" 1 slashcount - 1 ) Position ( docpath "/" 1 slashcount ) ) Function definition: (Copy & paste into FileMaker's Edit Custom Function window) Let([Ĭ1 = If ( Right ( docpath 1 ) = "/" 1 0 )
