January 18, 200620 yr I have a database in FM6 that I'm attempting to convert to FM7. When I opened/converted the database in FM7, the embedded images (container fields) did not come across. I tried several more times, but with no luck. Any ideas?
January 18, 200620 yr There is a way to export embedded pictures using AppleScript and a OSAX (Scripting Addition), which writes them out as JPEG files. It requires the OSAX to work (http below). Let me know if you can't figure this out, but I've got to run at the moment. tell application "FileMaker Pro" tell current record of window 1 set txtPath to cell "thePath" set imageCell to cell "theImage" set folderName to cell "folderName" set folderPath to cell "folderPath" end tell end tell tell application "Finder" if (folder folderName of desktop exists) is not true then set newFolder to make new folder at desktop with properties {name:folderName} update newFolder end if set thePath to txtPath as file specification end tell set theImage to giconvert imageCell type "JPEG" image thePath -- requires GraphicsImporter OSAX -- http://osaxen.com/files/graphicsimporter2.2.html -- set theImage to giconvert imageCell image thePath -- creates PICT file, huge -- doesn't seem to work for "GIFf" or "PDF ", but will do them as JPEG
January 18, 200620 yr Author I'll give this a try but it stinks that FM7 can't just move those images along with the rest of the Data in each record.
Create an account or sign in to comment