Macro to shake the mouse for 2sec

Post Reply
User avatar
Site Admin
Posts: 244
Joined: Sat May 16, 2015 2:23 pm
Location: Graz

Macro to shake the mouse for 2sec

Post by Xcessity »


I got a request from a user that I want to answer in the forums:
Can you advise a macro to shake the mouse? Left and right? for 2 seconds?
Here is a macro that does just that:

Code: Select all

<MACRO id="ShakeMouse">
    <MOUSEMOVEINPUT x="-50" y="0" behaviour="RELATIVE"/>
  <MAIN repeat="5">
    <MOUSEMOVEINPUT x="100" y="0" behaviour="RELATIVE"/>
    <WAIT time="200"/>
    <MOUSEMOVEINPUT x="-100" y="0" behaviour="RELATIVE"/>
    <WAIT time="200"/>
    <MOUSEMOVEINPUT x="50" y="0" behaviour="RELATIVE"/>

I am not quite sure if that solves your problem as I don't know what problem you are trying to solve.

Post Reply