![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Nov 2007
Posts: 26
Rep Power: 0
![]() |
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: autoit Syntax (Toggle Plain Text)
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 |
|
|
|
|
|
#2 |
|
Programmer
Join Date: Nov 2007
Posts: 33
Rep Power: 0
![]() |
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" ....
__________________
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut. |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Nov 2007
Posts: 26
Rep Power: 0
![]() |
Re: Command line screen capture
Thanks. that works perfectly now.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Screen Capture Program | ReggaetonKing | Show Off Your Open Source Projects | 15 | Jul 7th, 2007 1:57 PM |
| Clear screen with Java | Eric the Red | Java | 9 | Feb 22nd, 2006 10:28 PM |
| Getting size of user's screen | elford | Java | 1 | Jan 1st, 2006 4:09 AM |
| Senior Capstone-Spying Screen Saver | Hounder | Project Ideas | 23 | Dec 16th, 2005 7:00 PM |
| Print Screen? | Sane | C++ | 5 | Jul 27th, 2005 1:44 AM |