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.

Getting Container Embedded Data Type via Script

Featured Replies

Anyone know of a scripting method of determining the data type of data embedded in a container? if I GetAsText on a container it returns a ? when the data is embedded or the filename of the file that's in there if a straight file insert was done.

Via script (and with no user interaction) I'd like to examine a container and if it contains embedded graphic data I'd like to drop it to disk (in the temp folder) via Export Field Contents and then launch it with the default OS viewer.

This would need to be viable in Windows and Mac clients.

I can probably get it to work if I can just query the data type in a container correctly.

Thanks for any insight.

David

Why do not look at the file extension ?

  • Author

If you just copy graphic data and do a "Paste Bitmap" straight into a container and then look at the contents with the "GetAsText" function the returned string is just "?" since there is no associated filename. The problem is, audio data appears as "?" when embedded in a container as well.

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.