Todd Dignan Posted September 19, 2009 Posted September 19, 2009 Is there away to get the dimensions of a SC file. If not, Is this something that can be add to the SCGetInfo function? Thanks
Valentin Posted September 19, 2009 Posted September 19, 2009 I'll add this to our feature request list. It's also possible to write a ScriptMaster module to accomplish this, I could estimate the development of the ScriptMaster function.
Will B. Posted December 30, 2011 Posted December 30, 2011 In order to be green and cut down on paper, we need to get the dimensions of an image in SC. I can't see where this has been implemented, but I could be missing something. Has this been implemented? One can use the GetAsText(Image) to get the image size if the file is stored in FileMaker by reference. Is there some way to use this in conjunction with the URL path in SC? Thanks, Will
ooparah Posted December 30, 2011 Posted December 30, 2011 Hey Will, If you are wanting to grab a image/file from the SuperContainer server machine and place it into a FileMaker container field, you can use the SC Companion plug-in function: SCGetContainer(), which will fetch the SC file as Container field data. Our documentation goes into a bit more detail on the function and its uses. As Val suggested, a ScriptMaster function could also accomplish this feat, and if desired, we could help write a simple function to grab the necessary information. Regards,
Will B. Posted January 2, 2012 Posted January 2, 2012 Obinna, Let me rephrase my posting. The goal is to determine the dimensions of an image that is in SC. SCGetContaier copies the image from SC to a container field. However, there is not a way, that I"m aware of, to extract the dimensions of an image from a container field. Do you know of a way to do this? The only method, I am aware of, for extracting the image's dimensions is if the image is stored as a reference then the GetAsText(image) is called. Since images are essentially stored by reference in SC, it made sense when Valentine wrote in 2009 that they'd add this feature to the feature request list for SC. I own a developer's license of SC and would like to see this feature in SC. Any other ideas how to accomplish this rather than pay for SM development? Thanks, Will
Will B. Posted January 9, 2012 Posted January 9, 2012 Hi Obinna, Any response to my post of Jan 02? Thanks, WIll
ooparah Posted January 9, 2012 Posted January 9, 2012 I apologize for the delay in getting back to you Will. However, as of now, a function for extracting the dimensions of a file in SuperContainer does not exist.
Recommended Posts
This topic is 4700 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