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.

Featured Replies

In one of my layouts I have created an ID Card like view that has a persons image and layered over the top of it I have some fields. 

Is there a way to export that composite as an image?

I was thinking something like if I grouped the composite and gave it a name I could export it as a script step but searching came up with mostly how to copy layout objects to a different layout...

Currently it works to screenshot the composite but I would like to automate the process a little bit.

Thanks for any help

Edited by BradDuns

You could print it to a PDF, would that work for you?

  • Author

A PDF isn't an allowed image format so I would need to convert it.

I ended up using a Shell/AppleScript to automate the screen capture and name it using: 

"do shell script \"screencapture -x -R11,221,490,413 ~/FolderPath/" & User::UserName & ".png\""

I put the part I wanted captured in the far upper left of the layout so it's always in the same spot. I got the coordinates using the numbers from Cmd+shift+4. 

Maybe there is a better way but this works pretty good.

Edited by BradDuns

why can't you just print them out as labels?

  • Author

The composite image I am creating is for posting to social media.

It has a User's picture with updated stats so I just need the composite digitally. 

Screencapture can be unpredictable. What if a user zooms in or out? Or they move the window? An alternative approach is to use imagemagick (open source) in a script. Export the image, then use imagemagick to overlay it with information and keep tight control. Imagemagick works on both OSX and Windows.

  • Author
5 hours ago, OlgerDiekstra said:

Screencapture can be unpredictable. What if a user zooms in or out? Or they move the window? An alternative approach is to use imagemagick (open source) in a script. Export the image, then use imagemagick to overlay it with information and keep tight control. Imagemagick works on both OSX and Windows.

That's true. 

I have updated my script to use GetLayoutObjectAttribute to set the coordinates of the layout object I want to capture. This script won't work on PC but it will adjust if the user moves the window or zooms.

Thank you!

Create an account or sign in to comment

Important Information

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

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.