Skip to content

Instantly share code, notes, and snippets.

View mfedatto's full-sized avatar
🤓

MFedatto mfedatto

🤓
  • São Paulo, SP, Brasil
  • 23:22 (UTC -03:00)
View GitHub Profile
@mfedatto
mfedatto / noSleep.vbs
Last active November 29, 2022 02:45 — forked from valdergallo/noSleep.vbs
Script to make windows stop to sleep using VBscript
Dim objWScript : Set objWScript = CreateObject("WScript.Shell")
Dim blnConsole : blnConsole = False
Dim dtmStartedAt : dtmStartedAt = Now()
If InStr(1, WScript.FullName, "cscript", vbTextCompare) Then
blnConsole = True
End If