Based on a recent post, I have found easy to switch between the two front-most windows,
osascript -e '
tell application "TextMate"
set index of window 2 to 1
end tell
' &>/dev/null &
(binded to numeric(0), making it really fast two use it!!, I use the little finger)
but it doesn't work as desired since, although it exchanges the windows order, it doesn't exchange the active one, leaving the window behind the new front-most one active :(
Has anyone know some solution?
Thanks.
-- Juan FC