DarkNecromancer Posted December 17, 2005 Share Posted December 17, 2005 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 Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted December 17, 2005 Moderators Share Posted December 17, 2005 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. Link to comment Share on other sites More sharing options...
PartyPooper Posted December 17, 2005 Share Posted December 17, 2005 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? Link to comment Share on other sites More sharing options...
DarkNecromancer Posted December 17, 2005 Author Share Posted December 17, 2005 You guys are awsome, thanks alot ~Dark Link to comment Share on other sites More sharing options...
MrSpacely Posted December 18, 2005 Share Posted December 18, 2005 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:sCan you check its the right thing? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted December 18, 2005 Moderators Share Posted December 18, 2005 Funny, i did the search "getimage" (all forums) and got this: http://www.autoitscript.com/forum/index.ph...ndpost&p=131002Nice work Larry! 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. Link to comment Share on other sites More sharing options...
DarkNecromancer Posted December 22, 2005 Author Share Posted December 22, 2005 (edited) 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 December 22, 2005 by DarkNecromancer 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