Mouse to Follow selected object

Discuss RoboTask here
Post Reply
heto2005
Posts: 2
Joined: Mon Nov 03, 2014 10:35 am

Mouse to Follow selected object

Post 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!
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Mouse to Follow selected object

Post 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.
Oleg Yershov
heto2005
Posts: 2
Joined: Mon Nov 03, 2014 10:35 am

Re: Mouse to Follow selected object

Post 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
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Mouse to Follow selected object

Post 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 14171 times
Oleg Yershov
Post Reply