Page 1 of 1

Mouse to Follow selected object

Posted: Mon Nov 03, 2014 10:41 am
by heto2005
Hi,

I want my mouse to follow the selected object on my program and execute the given task. Currently, i have a list of items where my task begins on item 1, the mouse selects and drags the item to the right onto a different program. The task the moves arrow down to the next item and this is where i can not get the mouse to move to the next item.

Any suggestions on how to do this? Thanks!

Re: Mouse to Follow selected object

Posted: Wed Nov 05, 2014 9:52 am
by Oleg
You can use "Mouse move" action.
Use "Relative coordinates". This means the mouse pointer should move to specified amount of pixels from current position.

BTW: in most cases you can use keyboard combinations like arrow keys, TAB, Shift-TAB, etc.

Re: Mouse to Follow selected object

Posted: Wed Nov 05, 2014 1:21 pm
by heto2005
How would i specify how many pixels the mouse has to move to? Do i have to create a variable that increases for every item i move down? thanks for the help

Re: Mouse to Follow selected object

Posted: Wed Nov 05, 2014 2:19 pm
by Oleg
You should determine this value empirically.

Also you can take a screenshot and calculate coordinates in the graphics editor.
PrtScr button to take a screenshot to system clipboard
Next open MSPaint utility and paste the image into it.
See screenshot:
coord.png
coord.png (107.73 KiB) Viewed 14172 times