Newbies Jim Marshall Posted June 3, 2015 Newbies Posted June 3, 2015 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
john renfrew Posted June 4, 2015 Posted June 4, 2015 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
Recommended Posts
This topic is 3472 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now