If you’re like me, you probably have more than one iTunes account.
I, for example have a Belgian, a British and an American iTunes account, with those three, I have access to virtually everything Apple provides us with.
Switching between multiple accounts can be rather annoying, I spend countless minutes (maybe even hours) logging out and logging back in again on my multiple accounts to check available downloads or shop movies and music. Now, there actually is a solution, and it’s easy!
This AppleScript Application does all the work for you.
People who don’t like AppleScript or people who are not into coding, scroll down, we’re featuring an Application that does it without AppleScript
To begin, open up AppleScript Editor (which can be found in the Applications/Utilities folder) and put the following code in there:
tell application "System Events"
tell process "iTunes"
set frontmost to true
click menu item "Sign Out" of menu "Store" of menu bar item "Store" of menu bar 1
click menu item "Sign In" of menu "Store" of menu bar item "Store" of menu bar 1
After you’ve changed the username and password, click file, save as. Set script to Application, and name it how you want it to be named. (I use the countries where they’re from.)
If you don’t save as an Application, it might not work.
Once that you’ve saved it, go ahead and place it in
~/Library/iTunes/Scripts. If the Scripts folder does not yet exist, just make it.
That’s it! normally iTunes should log you out and back in with the account you selected.
If you experience any problems, please check that in System Preferences under Universal Access, “enable access for assistive advices” is checked.
It is possible that iTunes crashes (it doesn’t happen often)
Please note that your account and password are not encrypted. People who know how applications work are able to see your username and password if they get hold of the files. If you use this, please use it with caution!
For those of you who don’t want to use the AppleScript way because of the stored passwords, there’s a second solution! I’ve tested a few iTunes Account Switching applications in the last few days and one of them in particular took my attention.
The app is called iTunes Account Switcher and is built by a Dutchman named Joris Vervuurt.
What makes his app so much different from all the other apps out there is the fact that it sits in the menu bar and it’s the most user friendly one I have ever seen.
After you’ve set up your iTunes accounts, you just need to choose the account you want to use and the app does the rest.
You can choose to add an AppleScript to start the app from within iTunes in the app itself. (this is because in Lion the Users Library folder is hidden)
That’s it, now go ahead, give the app a try and enjoy all of your iTunes accounts.
You can download the latest version here: iTunes Account Switcher (3541)