Войти

Показать полную графическую версию : [решено] Скриншот рабочего стола через bat


Starter1
24-07-2011, 13:31
Подскажите как можно сделать скрин рабочего стола через батник?
Примечание: можно даже применить дополнительные программы? но чтобы был скрин, запустил батник, ввёл имя скрина и создался скрин на диске С в папке Scr (C:\Scr\)

Зарание спасибо :)!

Petya V4sechkin
24-07-2011, 13:39
screenshot-cmd (http://code.google.com/p/screenshot-cmd/) (первая ссылка из гугла).

Foreigner
24-07-2011, 14:04
Starter1,
must have (http://www.nirsoft.net/utils/nircmd.html) в любом случае.

Iska
24-07-2011, 16:05
NirCmd - Windows command line tool (http://nirsoft.net/utils/nircmd.html), команда savescreenshot (http://nirsoft.net/utils/nircmd2.html#savescreenshot).

kiripanda
24-07-2011, 21:29
IrfanView (http://www.irfanview.com/), ключ /capture
Example for capture:
i_view32.exe /capture=0
=> Capture the whole screen
i_view32.exe /capture=6
=> start in Capture mode, use last used capture dialog settings
capture values:
0 = whole screen
1 = current monitor
2 = foreground window
3 = foreground window - client area
4 = rectangle selection
5 = object selected with the mouse
6 = start in capture mode (can't be combined with other commandline options)
Advanced examples:
i_view32.exe /capture=2 /convert=c:\test.jpg
Capture foreground window and save result as file.
i_view32.exe /capture=2 /convert=c:\capture_$U(%d%m%Y_%H%M%S).jpg
Capture foreground window and save result as file; file name contains time stamp.




© OSzone.net 2001-2012