Make a mouse macro by doing the task once
A mouse macro is a recording of pointer work that a program can replay for you: the moves, the clicks, the scrolls, in order and with the same timing. Gaming mice often ship a macro editor that stores key sequences, but those editors rarely capture where the pointer goes, and scripting tools expect you to write the coordinates out by hand.
MouseScript takes the direct route. Press Ctrl+Alt+R, carry out the task the way you always do, and press it again. Everything in between becomes a route you can replay with Ctrl+Alt+P from any app, as many times as you like.
What sets it apart is how a recording looks. Each one is drawn as a path across a scaled picture of your own monitors, with a pin for every click: different marks for left, right and middle, a tick for each scroll and a little keyboard where you typed. Before you press play you can see exactly where each click will land.
How to automate mouse movement and clicks
Recording and playback each take one shortcut, and both can be rebound under Shortcuts in Settings.
- Arrange the windows you will click on, then press Ctrl+Alt+R or the record button. With Hide this window while it works on, the default, the app gets out of the way, and a small dot on screen tells you capture is live.
- Do the task, then press Ctrl+Alt+R again to stop. The new route appears in the list with a thumbnail of its path.
- Select the route and choose how to play it: Once, a number of Times, or Until stopped, at 0.5×, 1× or 2×.
- Press play or Ctrl+Alt+P. A marker follows the route on the map, and on screen a ring tracks the pointer with an arc showing progress through the current pass.
Mouse automation that stops when you need it to
A looping macro is only safe if you can interrupt it. With Stop when you take the mouse switched on, which it is by default, moving the mouse, clicking or pressing Esc ends playback immediately, and anything the route was holding down is released first. The play shortcut stops it too.
Clicks replay at the screen positions where they were recorded. Keep the target windows where they were, and use the map to check before a long run.
Lighter routes and faster replays
Long recordings pick up idle stretches and thousands of tiny movements. Two settings trim them without moving any click.
Moves to keep sets how much of the path is stored: Every move, or only points 4 px, 10 px or 25 px apart. Skip idle time cuts every gap over one second down to exactly one second, so a route recorded while you hesitated runs at working pace. Turn on Record the keyboard too when the task includes typing; by default a route holds only mouse input.








