windows:script_captures_ecran_vers_jpeg
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
windows:script_captures_ecran_vers_jpeg [2018/05/23 15:31] – luc | windows:script_captures_ecran_vers_jpeg [2018/05/23 15:59] (Version actuelle) – luc | ||
---|---|---|---|
Ligne 4: | Ligne 4: | ||
Ce script PowerShell permet d' | Ce script PowerShell permet d' | ||
- | <code PowerShell> | + | <sxh powershell> |
[CmdletBinding()] Param( | [CmdletBinding()] Param( | ||
[Parameter(Mandatory=$True)] | [Parameter(Mandatory=$True)] | ||
Ligne 56: | Ligne 56: | ||
Start-Sleep -Milliseconds 300 | Start-Sleep -Milliseconds 300 | ||
} | } | ||
- | </code> | + | </sxh> |
Les fichiers JPEG sont enregistrés dans le répertoire du script. | Les fichiers JPEG sont enregistrés dans le répertoire du script. | ||
- | <code PowerShell> | + | <sxh powershell; first-line: 8> |
[String] $repertoire = (Get-Item -Path " | [String] $repertoire = (Get-Item -Path " | ||
- | </code> | + | </sxh> |
Les lignes suivantes permettent de définir l' | Les lignes suivantes permettent de définir l' | ||
- | <code PowerShell> | + | <sxh powershell; first-line: 9> |
[Int32] $origineX = 210 | [Int32] $origineX = 210 | ||
[Int32] $origineY = 128 | [Int32] $origineY = 128 | ||
[Int32] $largeurCapture = 1245 | [Int32] $largeurCapture = 1245 | ||
[Int32] $hauteurCapture = 880 | [Int32] $hauteurCapture = 880 | ||
- | </code> | + | </sxh> |
windows/script_captures_ecran_vers_jpeg.1527082293.txt.gz · Dernière modification : 2018/05/23 15:31 de luc