November 5, 200916 yr Newbies 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.
November 6, 200916 yr 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, 200916 yr by Guest
Create an account or sign in to comment