May 4, 20205 yr Anyone have an idea for playing back a short mouse macro in osbot? I'd like to record some "mouse jiggles" and "mouse strays" from real world playing, and then randomly play back one of them on appropriate occasions.
May 4, 20205 yr You could set up a mouse event listener that serializes mouse events and the time they were performed into json format. Then when you want to play them back, deserialize and generate the mouse events. https://osbot.org/api/org/osbot/rs07/input/mouse/BotMouseListener.html https://osbot.org/api/org/osbot/rs07/input/mouse/ClientMouseEventHandler.html
Create an account or sign in to comment