Re: Re: win.sendmouse, how to restore position?

"brucexs-/[email protected] [power-pro]" <[email protected]> 20 Mar 2019 20:52:00 +0000
Newsgroups gmane.comp.windows.power-pro
Message-ID <[email protected]>
OK, sorry it does not work for you.  You can try saving position in variables using exec morecommandsasscript
 

 

 more  commands fields (ie cmd2 etc)
 local x=xmouser
 local y = ymouse
 /*do stuff here*/
 win.mouseto(x,y)  // I prefer this to win.sendmouse("ab", x, y) 
 

 You need the morecommandsasscript to use local statement in more commands.
 

 Not tested, so debugging up to you. I am afraid.