These are some tools I’ve written with Phlickr.
FavoriteDesktop downloads a random photo from your favorites list, converts it to a Windows bitmap (using ImageMagick's convert tool) and then sets it as your desktop background image.
PhlickrUploader is my personal script for uploading a directory full of photos, assigning tags and putting them into photosets.