NEW 命令行截图工具.
跟之前提供的不一样.之前是VB代码写的,代码也不行.
CommandlineScreenCaptureTool.exe
使用GDI提供的API,用C++代码编写.
功能是将屏幕截屏并保存到硬盘上.
使用方法::
divilis@DIVILIS-PC /D/LAB/projects/CommandlineScreenCaptureTool
$ ./CommandlineScreenCaptureTool.exe --help
This commandline tool is written by divilis.
Feel free to use it to capture the screen.
but WITHOUT any support.
[choetin@gmail.com]
This tool is compiled by the following command:
divilis@DIVILIS-PC /D/LAB/projects/CommandlineScreenCaptureTool
$g++ CommandlineScreenCaptureTool.cpp -o CommandlineScreenCaptureTool.exe -lgdi32
Usage:
1:
save bmp to d:\year_month_day-hour_minute_second.bmp
CommandlineScreenCaptureTool.exe
2:
save bmp to d:\bmpfilename.bmp
CommandlineScreenCaptureTool.exe d:\bmpfilename.bmp
3:
show this help message
CommandlineScreenCaptureTool.exe --help
1