![]() |
Command line screen capture
Anyone know of any useful apps to capture screen to compressed JPG (compression can be set)
I have tried this code in Autoit: :
and it does save the JPG but gives up an error like this: AutoIT has detected the stack has become corrupt. Obviously some sort of problem with the DLL but if there's code for this in C or C++ or BASIC or anything that anyone has, I'll take it.... This application would be extremely useful for our I.T. Department. Any help is much appreciated. Thanks for reading |
Re: Command line screen capture
Stack corruption can be caused by getting the calling convention wrong.
http://www.hiddensoft.com/autoit3/do...ns/DllCall.htm Perhaps DllCall("captdll.dll", "int:cdecl", "CaptureScreen" .... |
Re: Command line screen capture
Thanks. that works perfectly now.
|
| All times are GMT -5. The time now is 5:59 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC