> Sounds good, but doesn't work in practice if you have multiple windows. > Very odd: sometimes focus returns to the window which invoked the macro, > sometimes it goes to the chosen window. I don't know why. Perhaps a feature of the window manager you are using? Cheers, Jörg