iTunes AppleScript chooses format for ripping songs.
Rip A Few My Way lets you rip selected tracks from a CD using your choice of available encoders without having to change your your iTunes Import preferences. Your original preferred encoder will remain selected after running the script. You can choose to create a Playlist in which to place the new tracks after ripping as well. Requires at least v2.0.4 of iTunes, and works under OS 9, too.