Dynamic Link Libraries (DLL)
User Defined Funtions (UDF)
GUI Stuff
Other Stuff

Capture Screen Plugin

Ported captdll code to plugin. You need latest Autoit3 beta to use plugin feature. This just quick port, not much tested.

CaptureRegion("filename", x, y, w, h [, quality])
Capture region of screen
Parameters
filenameFile name
xPosition from left screen border
yPosition from top screen border
wWidth
hHeight
qualityOptional: save to JPEG with given quality (instead save to BMP)
Return value
1Success
0Failure

CaptureScreen("filename" [, quality])
Capture whole screen
Parameters
filenameFile name
qualityOptional: save to JPEG with given quality (instead save to BMP)
Return value
1Success
0Failure

History

15.10.05 - 0.9 - First release (not tested too much)

Downloads

Version 0.9 - Latest version




Capture Screen Dll

Dll for capture screen or screen region. You can get screenshots in the JPG or BMP. Dll exports two functions, example included.

int CaptureRegion(char *filename, int x, int y, int w, int h, int quality)
Capture region of screen
Parameters
filenameFile name
xPosition from left screen border
yPosition from top screen border
wWidth
hHeight
qualityJpeg quality (nagtive number to save into BMP)
Return value
1Success
0Failure

int CaptureScreen(char *filename, quality)
Capture whole screen
Parameters
filenameFile name
qualityJpeg quality (nagtive number to save into BMP)
Return value
1Success
0Failure

History

16.02.05 - 2.0 - Second version with JPEG support
14.02.05 - 1.0 - First version

Downloads

Version 2.0 - Latest version
Version 2.0 Source
Version 1.0 - Only BMP, but much smaller (source included)



Made by YDY (Lazycat)   Last updated: 15 October 2005