Gabriel Ramuglia Posted May 4, 2020 Posted May 4, 2020 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.
Camaro Posted May 4, 2020 Posted May 4, 2020 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