andygo 1 Posted July 15, 2010 Hello, if my clipboard is already filled with imagedata, is it possible to save it to a file just with autoit? thanks, andy Share this post Link to post Share on other sites
BitByteBit 1 Posted July 15, 2010 (edited) Here you go dude. http://tinyurl.com/2fmcbzz or http://tinyurl.com/33un3nd Google is your friend. Edited July 15, 2010 by BitByteBit Share this post Link to post Share on other sites
andygo 1 Posted July 15, 2010 thank you, found this solution: _ClipBoard_Open(0) $hBitmap = _ClipBoard_GetDataEx($CF_BITMAP) _GDIPlus_Startup() $hImage = _GDIPlus_BitmapCreateFromHBITMAP($hBitmap) _GDIPlus_ImageSaveToFile($hImage, fullpath/filename.jpg) _GDIPlus_BitmapDispose($hImage) _GDIPlus_Shutdown() _ClipBoard_Close() works like i want Share this post Link to post Share on other sites