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 18s ago
Swap the name with the artist of selected tracks
downloaded 3m 29s ago
Apply selected CD's CD Text to its disc and track tags
downloaded 9m 9s ago
Correct song titles listed as "Artist - Song Name"
downloaded 45m 52s ago
Gather audio tracks whose files contain no artwork metadata
downloaded 47m 27s ago
Restore each selected track's artwork from an image file stored in its Album folder
downloaded 48m 54s ago
Export album artwork as folder.jpg to Album folder