feat: enhance computer use with Vision (screenshot/apps) and Accuracy (resolution check)

This commit is contained in:
Gemini AI
2025-12-14 02:22:41 +04:00
Unverified
parent 6efed32a40
commit 193b41042e
2 changed files with 39 additions and 16 deletions

View File

@@ -96,8 +96,18 @@ switch ($Command.ToLower()) {
$bmp.Dispose()
Write-Host "Screenshot saved to $fullPath"
}
"apps" {
# List all processes with a window title (visible apps)
$apps = Get-Process | Where-Object { $_.MainWindowTitle -ne "" } | Select-Object Id, MainWindowTitle
if ($apps) {
$apps | Format-Table -AutoSize | Out-String | Write-Host
} else {
Write-Host "No visible applications found."
}
}
default {
Write-Host "Commands: mouse, click, rightclick, type, key, screen, screenshot"
Write-Host "Commands: mouse, click, rightclick, type, key, screen, screenshot, apps"
}
}