Did you save out the code to a something.ahk file and then run it?
Duh! Of course I did forget to try the simplest approach...
But it still doesn't work.
A logical question:
If I fill
"If ( ( A_ScreenWidth - myX ) <= myEdgePixels )"
with probable values for the left side of the screen:
If ( ( 1920 - 10 ) <= 10 )
doesn't that mean that that line will never be able to trigger the following "If ..."?
I changed it to
"If ( myX <= myEdgePixels )"
and that does
trigger the following "If ...".
(15 minutes later)
I also adjusted the Up vs. PgUp (Down vs. PgDn) confusion and added CoordMode so the script would not be triggered on the left border of any window that's smaller than fullscreen size:
myEdgePixels := 10
If ( myX <= myEdgePixels )
It works almost perfectly now, just one issue remains: can I 'mute' the wheel output so that when it successfully sends a command to f.lux, it will not also
scroll the browser window up or down or change the volume in the media player?