News for hackers. Stuff that matters.
Re:Microsoft 365 has employee surveillance and analytics bui... by TurkishPoptart on Tuesday November 24, 2020 @01:48PM (#25201567)
I'm not a programmer, but for this purpose I run a PowerShell script to hit the Scroll-Lock key every 5 minutes. It works _perfectly_ (almost too perfectly)

  Echo "Keep-alive with Scroll Lock..."

  $WShell = New-Object -com "Wscript.Shell"

  while ($true)
  {
    $WShell.sendkeys("{SCROLLLOCK}")
    Start-Sleep -Milliseconds 300
    $WShell.sendkeys("{SCROLLLOCK}")
    Start-Sleep -Seconds 240
  }
Re:Microsoft 365 has employee surveillance and analytics bui... by majkinetor on Tuesday November 24, 2020 @02:00PM (#25201726)
AHK is better for stuff like this, something like

    #Persistent
    SetTimer, CapsLock, 60000
    return

    CapsLock: Send {CapsLock}
AHK is very small, 0 on resources and this script is visible in tray. You could even enable/disable it via another hotkey or when specific app (PDF reader) is started.
Re:Microsoft 365 has employee surveillance and analytics bui... by shiftpgdn on Tuesday November 24, 2020 @03:12PM (#25202520)
Use this instead otherwise it's quite obvious: Random, Time, 5800, 6400