Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5302 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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.

This topic is 5302 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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