May 19, 201015 yr 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
May 19, 201015 yr 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