I want mouse moves/clicks to the relative position of the current window. In AutoHotkey, I can get the position(Left/Top x,y) and the size(Right/Bottom x,y) of the window I'm using. Thus, the mouse cursor can go to the relative position I want. (How)Can I do that in S+?
Scenario: I want to close the download file message in the right/bottom corner of Google Chrome by clicking the "x" icon. But the size and position of Chrome may change sometimes.