![mouse and keyboard recorder set delay mouse and keyboard recorder set delay](https://imag.malavida.com/mvimgbig/download-fs/mouse-recorder-10209-4.jpg)
the window id (only if your window title is not unique).
![mouse and keyboard recorder set delay mouse and keyboard recorder set delay](https://static.listoffreeware.com/wp-content/uploads/mouse-recorder-pro-fs-05_01-2016.png)
Start Sakura with the custom name xdowindow and start the xdotool script in it: sakura -t xdowindowįor your own script you would need the following: The sleep commands are just to slow it down to a watchable speed. I tried to get this working with gnome-terminal but gnome-terminal has been a major failure for some time and since then its window title cannot be changed, so I used Sakura for testing instead. This is a sample script for xdotool: search -name xdowindow You would have to calculate the offset.Ĭreate a text file for your xdotool script. Keep in mind that on Ubuntu you usually cannot move your window to the coordinates 0,0. Xterm -hold -e /usr/bin/xdotool getmouselocation To get the right position for your clicks you can move your window into the top left corner and use: ALT+F2 You can even execute commands from within a pure xdotool script and close their window after the job is done.
Mouse and keyboard recorder set delay windows#
With xdotool could identify windows and manipulate them to your parameters, and then program clicks relative to them, ignoring their position. I know this may not be what you are wishing for but it may be the best solution.Ī recorded macro would fail with missing windows, different window sizes etc.
![mouse and keyboard recorder set delay mouse and keyboard recorder set delay](http://www.advanced-mouse-auto-clicker.com/image/deletelast.png)
It gives you far more control over the process.įrom your description, I assume that you need something more permanent and not a macro that is only used a few times after recording it. Instead of recording a macro, it might be more useful to script it from scratch with xdotool.