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 17m 59s ago
Exports and then re-imports selected tracks' artwork
downloaded 22m 5s ago
Exports your choice of title, artist, album, time, and size of the selected tracks to the clipboard or a text file
downloaded 22m 53s ago
Copy Artist to Album Artist of selected tracks
downloaded 22m 56s ago
Correct song titles listed as "Artist - Song Name"
downloaded 26m 47s ago
Removes leading and trailing space characters from chosen tags in selected tracks
downloaded 32m 30s ago
Display/export a text file list of chosen tag data in library or playlist