Jump to content
Sign in to follow this  
Hidix17

Screenshot content to variable

Recommended Posts

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 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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

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 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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...