2015-Dec-13_7-32PM
Update: The answer is really simple.
Use this : https://raw.githubus...ib/Gdip_All.ahk
I hope that this will help some people who encounter the same problem like mine.
--------------
ಠ_ಠ
tic, help me
Gdip_SetBitmapToClipboard seems not to work in Windows 10,a\ ahk 64bit
When I paste to Word, it like this:
http://imgur.com/8uGPSxB
This is the script that I use:
If !pToken := Gdip_Startup()
{
MsgBox, 48, gdiplus error!, Gdiplus failed to start. Please ensure you have gdiplus on your system
ExitApp
}
WinGet, hwnd,ID, A
pBitmap:=Gdip_BitmapFromHWND(hwnd)
Gdip_SetBitmapToClipboard(pBitmap) ;set image to clipboard
Gdip_SaveBitmapToFile(pBitmap, "newscrshoot.png") ;saves image to file
Gdip_DisposeImage(pBitmap)
Gdip_Shutdown(pToken)
ExitApp
Gdip_SaveBitmapToFile works fine, but Gdip_SetBitmapToClipboard!