Free Macro Recorder 3.0.42

broken image
broken image

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.

broken image
broken image

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. 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. 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.

broken image