title: AppleScript to download files from HTTP server, mutating the URL?
body: <p>I've never messed with AppleScript so this is only a concept to me. Can this work?</p>
  
  <p>Bungie, the game designer, is hosting a ton of PNGs for Halo Reach in systematically named files and directories.  IE:</p>
  
  <p><a href="http://www.bungie.net/images/reachstats/commendations/onyx/onyx_large_precision_multiplayer.png" rel="nofollow">http://www.bungie.net/images/reachstats/commendations/onyx/onyx_large_precision_multiplayer.png</a></p>
  
  <p>Change two instances of the same word, and you generate another version of the image.  Change "onyx" to "iron", "bronze", "silver" or "gold" and you get a corresponding image, like so:</p>
  
  <p><a href="http://www.bungie.net/images/reachstats/commendations/gold/gold_large_precision_multiplayer.png" rel="nofollow">http://www.bungie.net/images/reachstats/commendations/gold/gold_large_precision_multiplayer.png</a></p>
  
  <p>Would an AppleScript be able to take an input URL, find and change the instances of the words in the URL, and then download the associated file to a directory?  Today is my birthday (Oct 27th! hence the XXVII) and if this will work I would be super excited if someone could make this!</p>
  
  <p>Thanks for all of your kind answers!</p>