Code: Select all
^+a::
if WinExist("ahk_class Notepad")
{
WinClose
MouseGetPos, CoordXRec, CoordYRec
MouseMove, 1500, 1000, 0
MouseMove, %CoordXRec%, %CoordYRec%
}
else
Run, Notepad
return
it works. but it obviously looks ugly since you see the mouse pointer moving back and forth, distracting my eyes.
is there a way to prevent this completely or at least minimize this to almost nonvisible level?
thanks
![Wink ;)](./images/smilies/icon_e_wink.gif)