Hidix17 Posted March 9, 2015 Share Posted March 9, 2015 (edited) Is it possible to take and read a screenshot without saving it into file? I want to make as fast as possible. Edited March 9, 2015 by Hidix17 Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted March 9, 2015 Moderators Share Posted March 9, 2015 Not sure what you mean by "read" the screenshot, but you can simply do a Send("{PRINTSCREEN}") to send it to the clipboard. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Hidix17 Posted March 9, 2015 Author Share Posted March 9, 2015 Oh thanks ,I forgot about this. Actually my script time is 63 ms using jpg format. I will try this Link to comment Share on other sites More sharing options...
Hidix17 Posted March 9, 2015 Author Share Posted March 9, 2015 Nope, it is not possible to get it form clip board for me :-( Link to comment Share on other sites More sharing options...
UEZ Posted March 9, 2015 Share Posted March 9, 2015 (edited) Leave the filename empty, e.g.:$hGDIBitmap = _ScreenCapture_Capture("", 0, 0, 199, 199)This will capture the screen and save the raw bitmap in the memory. The return value is the handle to the GDI bitmap! Edited March 9, 2015 by UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
Hidix17 Posted March 9, 2015 Author Share Posted March 9, 2015 Give me an example, I have never used it. Link to comment Share on other sites More sharing options...
Hidix17 Posted March 9, 2015 Author Share Posted March 9, 2015 The idea was to don't save the screenshot on hard disc but in the ram memory to make is faster but still easy to read and send via tcp Link to comment Share on other sites More sharing options...
JohnOne Posted March 9, 2015 Share Posted March 9, 2015 There is a search function. Ever used that? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Hidix17 Posted March 9, 2015 Author Share Posted March 9, 2015 Yes ,I used it and I found nothing Link to comment Share on other sites More sharing options...
JohnOne Posted March 9, 2015 Share Posted March 9, 2015 Well no-one can search for you, because no-one knows what you are wanting to do. You question Screenshot to variable has been answered. So get into more detail. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
UEZ Posted March 9, 2015 Share Posted March 9, 2015 The idea was to don't save the screenshot on hard disc but in the ram memory to make is faster but still easy to read and send via tcp Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
Hidix17 Posted March 9, 2015 Author Share Posted March 9, 2015 That's what I wanted to do. Unfortunately I gives an error in your server script. Line 40. Can not redeclare a constant. Link to comment Share on other sites More sharing options...
UEZ Posted March 9, 2015 Share Posted March 9, 2015 (edited) I was written with an older AutoIt version.Just remove this line and it should work.Further, Load_BMP_From_Mem and _GDIPlus_BitmapCreateDIBFromBitmap were integrated meanwhile -> _GDIPlus_BitmapCreateFromMemory() is now the function! Edited March 9, 2015 by UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
Hidix17 Posted March 11, 2015 Author Share Posted March 11, 2015 Ok, thanks for all. I will try to do it and I hope it will works good. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now