title: Have one application execute an action when another application is given a command using AppleScript?
body: <p>I know nothing about AppleScript, but I wonder if it could make my life easier: is there a way to write an AppleScript that tells Safari / Firefox / Chrome to refresh the current tab when I save a document in another application, say TextWrangler? Essentially, I want to map the <kbd>Command+S</kbd> keyboard shortcut to do two things at once in two separate applications.</p>
  
  <p>If that’s not possible, can you script one application so that saving one file executes a command in another window in that same application?</p>