June 3, 201510 yr Newbies Is there a good resource for file paths and script master? Normal file maker stuff doesn't work like using get(desktoppath) or whatever to operate on a file. For example if I refer to a file as file:///Users/Jim/Desktop/logo.png to use image rotation it works. If I use get(desktoppath)&filename it does not. Even though it successfully exports to that location using the same FileMaker script. I've googled and java relative path stuff is all over the map. I'm looking for a way to refer to the standard filemaker get functions using filemaker. So if I use the get to the desktop, or get to the temp folder to place a file, I need to know how to pick it up in script master without hard coding the path. It would be great if there were a simple reference using Mac and Windows file paths
June 4, 201510 yr you just need a custom function to do the path translation for you. something likehttps://www.briandunning.com/cf/902 orhttps://github.com/filemakerstandards/fmpstandards/blob/master/Functions/FileOSPath.fmfn
Create an account or sign in to comment