AHK Clipboard & Excel returns "The picture is too large and will be truncated"
Posted: 07 Dec 2016, 10:20
Following situation:
- starting the below .ahk
- start MS Excel
- COPY from Excel a complete column (e.g.: column A:A) or at least 62 cells of a column
With this situation I get this error from Excel:
“The picture is too large and will be truncated”
Without running .ahk script it works without error.
I tried to increase memory with #MaxMem and VarSetCapacity but without success. Also added the ClipWait line in the code without success.
Does anyone have a hint?
- starting the below .ahk
- start MS Excel
- COPY from Excel a complete column (e.g.: column A:A) or at least 62 cells of a column
With this situation I get this error from Excel:
“The picture is too large and will be truncated”
Without running .ahk script it works without error.
I tried to increase memory with #MaxMem and VarSetCapacity but without success. Also added the ClipWait line in the code without success.
Does anyone have a hint?
Code: Select all
#Persistent
OnClipboardChange("ClipChanged")
ClipChanged(Type)
{
ClipSaved =
ClipSaved := ClipboardAll
ClipWait,5,1
}