An unofficial community about Apple and all of its devices and software. I was getting really tired of manually switching between my two iTunes accounts so I wrote a simple AppleScript to do the work. Open your AppleScript Editor and copy the following: tell application "System Events" tell process "iTunes" set frontmost to true try click menu item "Sign Out" of menu "Store" of menu bar item "Stor