Search
Write a publication
Pull to refresh
3
0
Send message
  1. Не все базы умеют так.

  2. Конфигуратор

А разве взлом государственных серверов не приравнивается к военной агрессии? Ради мира на Земле можно и сервера Пентагона взламывать?

Не было никакого комментария выше. Вам показалось. Ничего никому не надо передавать. Если передали - заберите и сотрите память.

2. Выполнен
3. Планировщик
4. Переменная
5. Файловая система
6. Ещё пара строчек?
7. Еще строчка и в файл или в журнал Windows
$Path = "C:\Temp\Screenshot\"
Add-Type -AssemblyName System.Windows.Forms
$ScreenBounds = [System.Windows.Forms.Screen]::PrimaryScreen.Bounds
$Image = New-Object System.Drawing.Bitmap($screenBounds.Width, $ScreenBounds.Height)
$CopyScreen = [System.Drawing.Graphics]::FromImage($Image)
$Point = New-Object System.Drawing.Point(0, 0)
$CopyScreen.CopyFromScreen($Point,[Drawing.Point]::Empty, $Image.Size);
$СursorBounds = New-Object System.Drawing.Rectangle([System.Windows.Forms.Cursor]::Position, [System.Windows.Forms.Cursor]::Current.Size)
[System.Windows.Forms.Cursors]::Default.Draw($CopyScreen, $СursorBounds)
$CopyScreen.Dispose()
if(![System.IO.Directory]::Exists($Path)){ New-Item -ItemType Directory $Path }
$Image.Save( $path+ "$(get-date -f yyyy.MM.dd_h\h_m\m)"+".jpg" )
$Image.Dispose()
Когда мне нужно было решить примерно такую же задачу — оказалось достаточно PowerShell-скрипта на 5 строчек.
2

Information

Rating
Does not participate
Registered
Activity