Hoping to get some advice on a problem.
I am using the OnClipboardChange label and modified the example provided in the help just to save the clipboard contents if anything is copied into the clipboard:
Code: Select all
OnClipboardChange:
FileAppend, %ClipboardAll%, c:\temp\data.bin
"picture is too large and will be truncated"
and thus nothing is copied into the clipboard (or nothing that be saved for reproducing at a later date).
I found some info here: https://blog.techinline.com/2019/02/21/picture-is-too-large-and-will-be-truncated/
which states:
Would anyone have any idea how the above info can be incorporated into the script to allow copying of excel data?If your application interacts with the Windows clipboard using OLE technology, this indicates that somewhere your source code calls of the IDataObject interface. This interface contains the GetData method, which can result in the described Excel error when it tries to receive clipboard content in CF_METAFILEPICT format.
How to fix:
Skip the GetData call if the requested format is CF_METAFILEPICT."
Grateful for your expertise.
Jen.