amallison Posted May 22, 2012 Posted May 22, 2012 I have a script that uses SCGetFileURL. It works fine in SuperContainer plugin 2.792. When I updated to the 'FMv12' compatible plugins eg 2.861 & 2.863 this function has now gone missing. I have tested this on 2 Macs. When I revert back to 2.792 the function works ok.
ooparah Posted May 22, 2012 Posted May 22, 2012 Yes, this function has been out of commission since September of 2011. SuperContainer plug-in versions that were released prior to that date would contain this function -- 2.792 for example. Regards,
amallison Posted May 27, 2012 Author Posted May 27, 2012 Why did it need to be removed? What do you suggest we use instead to get the same result?
ooparah Posted May 29, 2012 Posted May 29, 2012 I did a little bit of research and it looks like we made an inadvertent change to the SuperContainer API. To my knowledge it seems as though it was changed for naming/clarity -- however, we typically do not make these sort of changes simply for naming conventions. It does seem to be the case that SCGetFolderURL() is the replacing function for the deprecated SCGetFileURL() and should work similarly. My best recommendation is to swap out the former "SCGetFileURL()" function with the newer "SCGetFolderURL()". Regards,
amallison Posted October 21, 2015 Author Posted October 21, 2015 This doesn't help get the file name. How do you suggest getting the folder path with the filename?
evanseeds Posted November 5, 2015 Posted November 5, 2015 The SCGetInfo function returns a value list which has the filename as it's first value. If that's not helpful, could you explain exactly what information you're trying to obtain? Thanks
Recommended Posts
This topic is 3361 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