October 23, 201411 yr Newbies Hello everyone,    I have signed up for this forum because I have encountered a problem that is most puzzling to me.  I'm developing a solution in FMP 11 that needs to have the ability to rotate an image within a container field. I am aware that in Filemaker, this cannot happen without the use of some sort of external plugin. So I consulted the old interweb and found the Script Master plugin. I understand how registering each function works so I donât believe thatâs the problem.  Iâm pretty sure my problem is my path that Iâm using. I would like to keep it a temporary path that way my users donât have to go back and delete the file after itâs been exported. Iâve got some attachments below with my code and the error Iâm getting. Help would be greatly appreciated!  Platform: Mac FMP version: 11  Function Registration:  Script:  Data viewer:
October 23, 201411 yr Try using the unix temporary directory "tmp" So, something like "/tmp/temp_file.jpg" Good Luck, Dave Wheelock
October 24, 201411 yr Use the Get ( TemporaryPath ) function. Everything in that directory is cleared out periodically — I think when FileMaker is closed, but I could be mistaken. Do you really need to rotate the image file contents inside the container field, or do you only need to display a rotated image? If it's the latter, you can simply rotate the container field object on your layout.
Create an account or sign in to comment