Script of the Day: Convert and Replace
Convert and Replace will convert the selected tracks using an encoder chosen on-the-fly (the encoder's current Preferences-set options will be in effect) and replace the originals throughout the playlists of your entire library with the newly converted versions.
Additionally, you can opt to Trash/delete or keep the original files and tracks.
More information and download is on this page.
Previous Scripts of the Day. Subscribe to my RSS feed or follow @dougscripts on Twitter to get daily "Script of the Day" notifications.