Skip to content

Instantly share code, notes, and snippets.

View dicko2's full-sized avatar
🇦🇺
Beering

Joel Dickson dicko2

🇦🇺
Beering
View GitHub Profile
@BenjaminArmstrong
BenjaminArmstrong / VMScreenReader.ps1
Last active April 19, 2020 04:23
PowerShell script that will read a virtual machine screen to you
$VMName = "New Virtual Machine"
# Rectangle format == top left x, top left y, width, height
# $cropRectangle = New-Object System.Drawing.Rectangle 35,485,218,147
$cropRectangle = $null
$speakItToMe = $true
# Load System.Drawing
Add-Type -AssemblyName "System.Drawing"
# Load Tesseract - using code from https://github.com/jourdant/powershell-paperless