Skip to content

Instantly share code, notes, and snippets.

View Son0fSun's full-sized avatar

James Son0fSun

View GitHub Profile
@Son0fSun
Son0fSun / noSleep.vbs
Created September 8, 2019 18:13 — forked from valdergallo/noSleep.vbs
Script to make windows stop to sleep using VBscript
set wsc = CreateObject("WScript.Shell")
Do
'Five minutes
WScript.Sleep(5*60*1000)
wsc.SendKeys("{NUMLOCK}")
Loop