Mouse click and movement macro
Posted: 26 Oct 2013, 12:09
I need some help as I am totally unfamiliar with writing scripts or adding commands etc. What I want to do is use a macro to calculate the routes in a games mission editor.
It looks like this:
![Image](http://i287.photobucket.com/albums/ll149/jimsom88/routes_zps0d545bc4.jpg)
When I open a route it looks like this:
![Image](http://i287.photobucket.com/albums/ll149/jimsom88/routes2_zpsf8073a37.jpg)
Using Pulovers macro creator http://ahkscript.org/boards/viewtopic.php?f=6&t=143 , I recorded a macro for the first route and played it back and it will do the required mouse movements and clicks, but each route will open in a different vertical position.
I would like to be able to somehow designate what position the macro will run from each time and I am guessing the actions would have to be offset from the first mouse position rather than coordinates.
This is what it would look like:
http://www.youtube.com/watch?v=1sGSZtfF ... e=youtu.be
Is this possible and can someone help me figure out how to do it?
It looks like this:
![Image](http://i287.photobucket.com/albums/ll149/jimsom88/routes_zps0d545bc4.jpg)
When I open a route it looks like this:
![Image](http://i287.photobucket.com/albums/ll149/jimsom88/routes2_zpsf8073a37.jpg)
Using Pulovers macro creator http://ahkscript.org/boards/viewtopic.php?f=6&t=143 , I recorded a macro for the first route and played it back and it will do the required mouse movements and clicks, but each route will open in a different vertical position.
I would like to be able to somehow designate what position the macro will run from each time and I am guessing the actions would have to be offset from the first mouse position rather than coordinates.
This is what it would look like:
http://www.youtube.com/watch?v=1sGSZtfF ... e=youtu.be
Is this possible and can someone help me figure out how to do it?