Except as soon as I let go, the script does it's thing. Any clues on how to fix this?
I did something crude but effective, at least for when I end up at the right edge of the screen while resizing a window by dragging the right edge. If the left button is down and in the hot space at the right edge, when I let go the mouse gets moved two pixels away from the edge and the loop continues:
If (mx=1919) and (my>200) and (my<800) and (lbutton="D")
If (mx=1919) and (my>200) and (my<800) and (lbutton="U")
better suggestions welcome!