Skip to content

Instantly share code, notes, and snippets.

@adegard
Created July 23, 2020 08:26
Show Gist options
  • Save adegard/e9ecc34a02532ec23d1c242856ccea5f to your computer and use it in GitHub Desktop.
Save adegard/e9ecc34a02532ec23d1c242856ccea5f to your computer and use it in GitHub Desktop.
vbs Pomdoro timer . make a little break . Notification
' Pomdoro timer . make a little break . Notification VBS
' To start automatically on logon, put into the directory that opens on:
' Win+R: Open: [shell:startup] -> [OK]
' (C:\Users\YOU\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup)
'set brightness based on day hour
Dim mytimer
mytimer = 50 'min
Set HH = CreateObject("Internet.HHCtrl")
while (1)
HH.TextPopup " make a little break now! ","Verdana,12",12,12,12,12
WScript.Sleep(mytimer*60000)
wend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment