First I'm not using autohotkey. That's someone else.
Second, after hours of working just fine, I slept, got up and started playing and well it stopped working again....
even with the logging.
it stops logging even
So for some reason Factorio is losing the fact that this method needs to be called.
I did use the + button on the numpad to expand the size of some landfill... that's the only thing that might have caused this other than random problems :(
Actually I just tested something else and it broke it too
As soon as tried to use any landfill even without adjusting the size, the zoom stops working....
It seems to be repeatable unfortunately...
Spoke too soon again also
This time I reloaded the game and just made a blue print and the zoom stopped working too....
this is a game bug if anything unfortunately I think