With timeout of 0 seconds - don't exit with an error if the add command takes over 20 seconds It requires GNU xargs and readlink which you can install by running brew install findutils coreutils. I use a script like the one below to create most new playlists.
Tell application 'System Events' to tell process 'iTunes'Ĭlick menu item 'Songs' of menu 1 of menu item 'View As' of menu 1 of menu bar item 'View' of menu bar 1 User playlists whose special kind is none and smart is false I don't know how to change the default view mode for new playlists, but you can run a script like this in Script Editor to change the view mode of all existing playlists: tell application 'iTunes'