Skip to content

Instantly share code, notes, and snippets.

View lanzorg's full-sized avatar

lanzorg

View GitHub Profile
@lanzorg
lanzorg / demo.ps1
Last active January 18, 2022 17:01
function Invoke-SendKeys {
param (
[string] $Keys,
[string] $Title
)
$wshell = New-Object -ComObject wscript.shell;
if ($Title) { $wshell.AppActivate($Title) }
Start-Sleep -Seconds 1