Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Screen Flashing while Macro running is hurting my eyes
#1
Hi,
I have a number of steps that maximize and minimize windows in rapid succession.
This causes a flashbulb like effect which hurts my eyes and causes a headache after a while.
I tried using the Curtain function but the curtain keeps on going up and down

These are the typical statements....

siz 1850 5 win("" "#32770")
......
siz 1850 1100 win("" "#32770")
....
siz 1850 5 win("" "#32770")
......
siz 1850 1100 win("" "#32770")

etc

Any ideas on how to temporarily darken the screen while actions are going on
I am using a lot of lef+ and lef- statements to move objects around that I can't use simple mov commands for (I actuall have to drag them).
Anyway, perhaps turning the pixel intensities to black momentarily or turning their intensities down.

Stuart
#2
You can turn off monitor, if supported by hardware.

Code:
Copy      Help
;def SC_MONITORPOWER 0xF170
SendMessage HWND_BROADCAST WM_SYSCOMMAND SC_MONITORPOWER 2
5
SendMessage HWND_BROADCAST WM_SYSCOMMAND SC_MONITORPOWER -1
#3
It Works!!
Stuart
#4
during the dark period.

Instead of the 5 seconds, I put the macro commands in between the two statements. It just blinks of then on again, then runs the rest of the macro commands. If I leave the time in, it just keeps the dark period longer before running the rest of the macro after the lights come back on.

Thanks,
Stuart
#5
Mouse movement turns on monitor.

I don't know other ways.
#6
Stuart


Forum Jump:


Users browsing this thread: 1 Guest(s)