• dingleberrylover@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    3 days ago

    I have a similar one. Much simpler. Here it is:

    $wsh = New-Object -ComObject WScript.Shell
    while(1) {
    $wsh.SendKeys(‘+F{15}‘)
    Start-Sleep -seconds 59
    }