Newbies josev Posted November 5, 2009 Newbies Posted November 5, 2009 Hello FM Forums, I'm trying to use the SCGetFileURL function but I can't seem to get the parameters right. I understand folderPath, but why and how am I supposed to write a winPath if I'm working on a Mac? I tried only using the macPath and the folderPath, but FM told me "there are to few parameters" I'm sure this is very simple, but I can't seem to find anything online that will help. Thanks in advance, Jose.
agutleben Posted November 6, 2009 Posted November 6, 2009 (edited) Jose, You do not have to specify a path that you are not using. You can simply specify null with 2 quotes(""). I was able to do the following with a Mac only path specified: SCGetFileURL( "Volumes/Personal MacBook Pro/Users/Shared/SuperContainer/"; ""; "Files/Tips" & int_INT__Selected_Interface_Records:__kp_ID & "/1/" ) Notice that I specified the Mac path, but used double quotes for the Win path. This resolved perfectly for me and gave me the path to the file. One other item to mention is that you will need to have the shared volume mounted in order for the path to resolve. Otherwise, you'll get an error. HTH!! Edited November 6, 2009 by Guest
Recommended Posts
This topic is 5494 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