Create a command to focus a specific window from anywhere in OS While developing for the web I tend to jump back and forth between my text editor and the browser a lot. I'd like to set a keyboard shortcut at the OS level that allows me to jump to a specific, definable window every time. Even better would be the ability to issue a tell that application to execute something, but I'll save that for later.

Are there technologies available that will let me do this? There must be something between C and AppleScript that let's me create this kind of an interaction. Does anybody know where to begin?

Thanks.
You might do something like this with AppleScript:

tell application "Terminal"
    activate
    windows where name contains "bash"
    if result is not {} then set index of item 1 of result to 1
end tell


Or using System Events:

tell application "System Events" to tell process "Terminal"
    set frontmost to true
    windows where title contains "bash"
    if result is not {} then perform action "AXRaise" of item 1 of result
end tell