Jump to content
Sign in to follow this  
DarkNecromancer

Screen Scrape

Recommended Posts

DarkNecromancer

Hi, I'v done research but i have been unable to come up with any way that could be used within autoit with minimal extras that would allow my to get an image of the desktop in memory. I'm currently using Lazycat's capture, but it writes to a file, so i have to wait till the file is created, open it, read it in order to get the image into the memory. I was wondering if anyone knew of any other ways of doing this

~Dark

Share this post


Link to post
Share on other sites
SmOke_N

erifash wrote something like that in the scripts and scraps... using binary I believe (If I remember correctly.) Other than that and I don't know if that will work for you ... it's incredibly slow, it's off to the wonderful world of OCR creating using PixelCheckSum() for you.


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
PartyPooper

Yes, just press the printscreen button (PrtSc or PrtScn) after you minimise all windows or use the 'Show the Desktop' option (right click on the taskbar).

If you need to check what image you've captured in memory, open MS Paint/IrfanView etc and paste the clipboard in.

I hope this is what you meant?

Share this post


Link to post
Share on other sites
DarkNecromancer

You guys are awsome, thanks alot

~Dark

Share this post


Link to post
Share on other sites
MrSpacely

search forum for "getimage" it requires beta and dllstruct...

Lar.

Hmm I also am looking for that but using search I just get your reaction on this subject:s

Can you check its the right thing?

Share this post


Link to post
Share on other sites
DarkNecromancer

As far as i can tell Larry's GetImage uses handles to do everything, I might, and probably am, be wrong, but is there any way to dump it to a vairable that AutoIt can use?? like $image contains that data that if i were to open a image in notepad?? As far as i know, BitBlt is the meat and potatos of the whole thing but the BitBlt only uses ints. I don't use external DLL's alot as you can tell so I'm out on a limb here

~Dark

Edited by DarkNecromancer

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.