this lets me walk the currently active windows by activating this [i use CTRL-space] and typing in a unique part of one of the window frames. then, it switches focus to that window.
#!/bin/bash zenity --title "window search" --entry --text "type part of the window titlebar you want" | xargs -I {} wmctrl -a "{}"