Hi Michael Mullen
I tried a few options with not much luck.
Paste (direct_input "clipboard:" ) works when the "Copy" was text.
Does not work when the "Copy" was a pdf file in Windows Explorer.


UChar[] ucBuffer
Direct_Input "binary: clipboard:" sets seqeof true
Read_block ucBuffer -1 works if its text. SizeOf ucBuffer is 174 chars
Read_block ucBuffer -1 hangs if it’s a 8k pdf file. It runs our of memory in a minute or so (ACCESS_VIOLATION)
Read_block ucBuffer 20000 works if its text and SizeOf ucBuffer is 174 chars
Read_block ucBuffer 20000 does not hang if it’s an 8k pdf file but sizeof ucBuffer 20000 and values are all 0.

The documentation specifically says "Clipboard:" if for text.
Does not seem to be an easy way around that.

Maybe there is an ActiveX control out there that would grab a PDF file out of the Clipboard.