Retrieves a binary item from the current clipboard, designated by the format passed to the function.
The format used must be one of the values from the BE_ClipboardFormats function.
Use this function as the calculation for a Set Field [ containerField ] script step, or when setting a variable to a container type.
- format : The name of the format to get from the list of formats on the current clipboard.
- fileName : Optional parameter to set a resulting filename, but can be left out if the clipboard already has a filename.
Clipboard Data Get
- 4.0.3 : First Release
- If the format is a binary file type, and has a filename, then that parameter is not required. Otherwise a filename is recommended so that the result is useful inside FileMaker.
BE_ClipboardGetFile ( "com.adobe.pdf" ; "Object.pdf" )Used in a Set Field step to get the pdf of a copied layout object. In this case the clipboard would also contain the text XML description under a different "format", plus possibly a plain text "format" with some of the layout content.
BE_ConvertContainer ( Clips::BinaryData ; "PDF " )Converts the above file container into an image container.