February 20, 200718 yr Hi All, Here the situation: I have a Layout "pretty graphic" with real world mesurement (pixel - 1920 X 1080) that I would like to export as an image to load up in another application. So, each record, under this layout, would become an image. It need to be in a format like TGA or TIFF or PSD or PNG etc . . . Please tell me it's possible . . . . thx Sebastien
February 20, 200718 yr Newbies I can only think of 2 ways to do this. Option 1 - Make your screen resolution large enough that your whole layout fits on the screen then use the screen capture function to take a snapshot of each record. Might not be practical if the layout is really large. Option 2 - Save each record as a .pdf then use one of the various utilities around that converts .pdf's to images. Cheers Tim
February 20, 200718 yr Enter Preview Mode[] Copy -- Your clipboard now contains a screen shot of the layout. If you open your other application, click new, it usually takes the resolution of the most recent item added to your clipboard.
February 21, 200718 yr Author Thanks guys they are all good solution. I think option 2 will be the best for me. Is it possible to get the script to name the .pdf the same as one of my field ? thx seb
February 21, 200718 yr Are we talking about a graphic in a FileMaker container field? In which case you'd just use Export Field Contents. You would use a script Variable to hold the FileMaker syntax path, and use the Variable in the export. Easier to show than explain. ContainerPictures.zip
February 22, 200718 yr Author Hi Fenton, Thanks for your answer. No, I was thinking of exporting records. (each one of them individually ) as .PDF, in a defined location (like your desktop) each .pdf would be named after a field of the record they came from.
February 22, 200718 yr If you're exporting the layout as PDF, then you'd be using the Save As PDF step. But either way you'd use the same script Variable technique to calculate the file path, then use that in the export (save as PDF, whatever; same thing as far as the path goes). If you want the desktop, then you'd do your calculation using the Get ( DesktopPath ) function, and add the file name with extension.
February 22, 200718 yr Author Hi Fenton, There is something that I'm obviously not getting. So I am sending you back your file with my modifications. Let me know what you think. thx seb modifs.zip
Create an account or sign in to comment