Skip to content

Instantly share code, notes, and snippets.

@QiangF
Forked from llinfeng/eink_clean.ahk
Created April 12, 2023 06:10
Show Gist options
  • Select an option

  • Save QiangF/278cf34fd47ff86e7582e7c3a55afcaf to your computer and use it in GitHub Desktop.

Select an option

Save QiangF/278cf34fd47ff86e7582e7c3a55afcaf to your computer and use it in GitHub Desktop.
Force full-screen refresh on e-ink monitors
#SingleInstance, force ; Allow only one instance of this script to be running.
#Persistent ; To stop the script from exiting.
; Here, press F1 to trigger the black/white flash
F1::
; Source: https://superuser.com/questions/662264/i-would-like-to-make-the-screen-go-black-every-8-seconds-how
Gui, Color, 000000
Gui, Show, x-5000 y-20 w8000 h8000
sleep 333
Gui, Color, FFFFFF
Gui, Show, x-5000 y-20 w8000 h8000
sleep 333
Gui, hide
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment