Page 1 of 1

Cursor getting back to its original position

Posted: Fri Jan 27, 2017 4:43 pm
by Greysen
Hi,

This is the most obvious option we can find on macro softwares, i've searched everywhere but i dont find it. X-Mouse is really the best for me but this option is too essential. I searched on this forum but it seems no one asked, i looked carefully on the settings, tried some tricks but no way...
Is there somewhere a simple option to make the cursor back to its original position before the use of automatic click, or a trick u know ?

Thank u very much for ur help

Re: Cursor getting back to its original position

Posted: Sat Jan 28, 2017 2:37 am
by injtsvetkov
Well you can set the coordinates you want the cursor to go to in Sim Keys and send it there with the click of a button. Or if you want to make some other actions and then make the cursor go to the desired position, you can simply put the coordinates in the end of the string in Sim Keys - after all other actions assigned to the particular button.

Re: Cursor getting back to its original position

Posted: Sat Jan 28, 2017 8:57 am
by BriHecato
I know what is Greysen about - he propably already use mouse coordinates - but want to mouse return to start point after done with his simkey "macro" - and this start point each time can be different.

That's why we have

Code: Select all

{MSAVE} Save the current cursor position
{MREST} Restore the last saved cursor position
Yupikayey! Just tried:

Code: Select all

{MSAVE}{ASET:100,100}{WAIT:1}{MADD:100,100}{WAIT:1}{MREST}

Re: Cursor getting back to its original position

Posted: Sat Jan 28, 2017 11:26 am
by phil
It is worth mentioning that {MSAVE} and {MRESTORE} are only available in the 2.15 (so for now, the beta).

Re: Cursor getting back to its original position

Posted: Sun Jan 29, 2017 12:52 pm
by Kukurykus
I'm glad to see {msave} and {mrest} will be useful not only for me :D