Something to record & play "screen macros"--?
Hello, all. I'm looking for something that will record and play back what I'm calling (for lack of the appropriate term) "screen macros" in X11 (or, perhaps, something built into or upon GNOME or KDE). I would like to somehow register a specific pattern of mouse movements and clicks, then have them "played back" later, at a specified time or specified intervals, as though the actions were being performed anew. I'm dealing with strictly-GUI apps here, so it's unfortunately not something I think I could simply script.
Does anything spring immediately to mind for anyone?
I'm surprised my Googling didn't turn up anything promising, as it seems like I'vre read about this sort of thing in the past (but naturally, that was when I didn't _care_ about this kind of functionality...).
Any guidance would be greatly appreciated. Thanks very much in advance.