Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Exportin a "Record/Layout" as image (tga, jpg,etc)

Featured Replies

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

  • 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

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.

  • 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

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

  • 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.

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.

  • 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

  • Author

no idea Fenton ?

  • Author

Thanks Fenton, it is working great now !!

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.