Request: Read image from file on disk to Clipboard
Issue #78
closed
This can be done in both AHK v1 and v2, but requires external libraries.
Ideally, you would be able to specify a file name, Keysharp would read it, then copy the bitmap to the clipboard.
(Perhaps allow copying the bitmap to a variable also?)
Comments (4)
-
reporter -
repo owner I’ve added a new function named
CopyImageToClipboard()
.It takes the same arguments as
LoadPicture()
. So you can load via filename, or image handle etc...In my tests it works.
-
reporter Tested, works.
-
reporter - changed status to closed
Thanks for implementing this. Closing.
- Log in to comment
Potentially useful:
Or:
From: SO