some back-story: sometimes i want to copy a window's titlebar text or edit the caption before taking a screenshot. so i started working on my 'middle-button-magic' tool.
basically you middle-click on a windows titlebar and a menu pops-up where there are commands to copy the caption text (and the windows' class as well) into the clipboard. plus another option to modify the titlebar itself, though any change is temporal and lasts while the program is not refreshed or closed.
note: AVG inadvertently ate my script just a while ago so please bear with me until i retrieve a backup-copy.
a bit anti-climatic since Skrommel had already whipped up a script in my absence but here is it anyway.
P.S. Ack: Deozaan came up with the name - 'CopyCap'.