This is really frustrating.
Is there a function in v3.7 to save an image in clipboard directly to a file?
I could not find any. I search the forum, but did not really locate any function to do this either. I found a thread with really a lot of scripts, but when i try to use part of the code
viewtopic.php?t=3705&highlight=clipboard+save
Code: Select all
ciHwnd = GetClipboardData_(#CF_BITMAP)
GetObject_(ciHwnd, SizeOf(BITMAP), @bmp)
SelectObject_(hDC, ciHwnd)
IData\width = bmp\bmWidth
IData\height = bmp\bmHeight
IData\bits = bmp\bmBitsPixel*bmp\bmPlanes
pad = (bmp\bmWidthBytes-IData\width)*IData\height
iHwnd = CreateCompatibleBitmap_(hDC, IData\width, IData\height)This should be a simple thing to do. As i find in another thread, the problem is:
We do not know the size of the image in clipboard to creatImage
Please can anyone help?.
Cecil[/code]


