macOS 10.10 and later only. This script converts the files of the selected tracks in iTunes using an encoder of your choice on-the-fly (restoring your Preferences-set encoder afterwards). The newly converted files are then moved to a new location of your choice, and their tracks removed from iTunes.
Also see M3Unify, an application that provides many more options for converting/exporting files from iTunes.
Perhaps Also of Interest...
downloaded 2m 13s ago
Send the lyrics of the playing or selected track(s) to TextEdit
downloaded 9m 11s ago
Change file type to make selected AACs bookmarkable
downloaded 23m 16s ago
Remove iTunes tracks disassociated from files
downloaded 29m 37s ago
Delete characters from the beginning or ending of selected tracks' name, artist, album, comments, composer, or show tags
downloaded 43m 33s ago
Title Cap various track tags, featuring editable exceptions lists
downloaded 1h 9m 31s ago
Use tag info from selected track to search Amazon Books for cover art