I’m looking for a solution to copy a TIFF image into a FileMaker container field.
I know how to import an image file into FileMaker, but this solutions saves only a reference and does not copy the image into the FileMaker database. As my solution has to work on a hosted database on a FM Server, I have to store the image data and not only some kind of file reference into the container field.
Things I already tried, but which do not work:
importing a TIFF file, copying it into the clipboard, pasting it into another container field
setting the TIFF data directly into the container field
The TIFF data I’m using comes from the Address Book. I can save this image data of an address to a file and open it properly in Preview or import it as mentioned in FM.
Is there a way to coerce TIFF data into PICT data, is that perhaps a solution?
Ruediger
This is tough. There used to be a way to read a data file in as data-type “PICT”, then you could literally set the container field to that data. This does not seem to work anymore on FM 6 for OS X. One possibility may be to do as you said (open in another app, copy to clipboard, then paste to FileMaker). It also seems that FileMaker allows you to Insert Picture in a FileMaker Script, and it claims that you can do this NOT as a reference (since it has a checkbox for you to make it reference-only). I haven’t tested whether this is another case of “we removed the feature, but left the controls” so good luck. If it does work, you could set a standard location, then put the file where FileMaker wants it to be using AppleScript.