I haven't tested this solution with Windows 8, but it should work fine. It is a simple script that uses the scripting language Autohotkey.
Install Autohotkey
Create an .ahk file in a text editor and paste in the script below. You can change the duration of the black screen and other things as noted in the script.
Run the file
The only limitation I can think of is that the black screen steals focus/clicks when it is active. This probably isn't a big issue, but may be noticable.
screenblacker.ahk
;#NoTrayIcon ; Uncomment to disable tray icon
Loop
{
Gui, Color, Black
Gui, +ToolWindow -Caption ; +ToolWindow prevents taskbar button. -Caption removes borders and stuff.
Gui, Show, x0 y0 w%A_ScreenWidth% h%A_ScreenHeight%
Sleep, 100 ; This is the duration of the black screen
Gui, Hide
Sleep 8000
}
^F12::ExitApp ; This makes CTRL + F12 exit the script. See Autohotkey docs for a list of keys and modifiers.
2Do you need the screen to go black, or can you suggest some other ways to remind you to blink your eyes? Like a signal or something? – superuser – 2013-10-19T11:48:43.920
1@superuser I think that it is possible that screen flashing to black can subconsciously provoke eye blink while other signals must be consciously noticed or they could be too distracting. – pabouk – 2013-10-19T12:50:26.273