I dug up this command today for a project, with the help of Doug’s Applescripts for iTunes.
tell application "iTunes"
set current encoder to encoder "MP3 Encoder"
We like to set the default encoder for importing, especially on shared computers, in order to facilitate the conversion of audio files captured using Olympus audio recorders and Windows computers.
I also learned how to show all of the supported Applescript commands for an application: Script Editor -> File menu -> Open Dictionary. Now why didn’t I know that two months ago?
Unfortunately, iTunes does not include support to show the Kind column in the items view, which I was hoping to script.