gxfred Posted February 22, 2014 Posted February 22, 2014 (edited) This workflow allows you to switch between multiple Apple accounts quickly and easily in iTunes, App Store and iBooks. Also it can automatically turn on iTunes Match (iCloud Music Library) for you after switching (when available).Passwords will only be stored in Keychain. Keywords switch - Switch between Apple accounts in iTunes, App Store and iBooks fill - Autofill the password of your Apple account to the current input area Downloadv1.5: http://cl.ly/cFslv1.4: http://cl.ly/YC2kv1.3: http://cl.ly/Xqnlv1.2: http://cl.ly/U5YKv1.1: http://cl.ly/U4Awv1.0: http://cl.ly/U4KK What’s new Version 1.5 (2015-08-16) - Compatible with iTunes 12.2. - For users who use multiple input languages, now it can change input language to English before switching and autofilling to prevent entering non-ASCII characters, and switch back to previous input language when done. (Thanks to https://github.com/ybian/smartim) - Support non-email Apple ID. Version 1.4 (2014-10-23) - Update to OS X Yosemite's icons and fix some small bugs on Yosemite. Version 1.3 (2014-10-02) - Fix an issue that account and password would be entered into wrong fields in Mac App Store on OS X 10.10 Yosemite. Version 1.2 (2014-02-24) - New keyword "fill" to type in Apple account passwords for you automatically. Version 1.1 (2014-02-23) - Fix a mistake that passwords are stored in the configuration file. Packal addresshttp://www.packal.org/workflow/apple-account-switcher Note: Technically, it should be able to support all system languages. But if it doesn't work with your system language, please contact me. Edited August 17, 2015 by Sylv homever and DJay 2
gxfred Posted February 22, 2014 Author Posted February 22, 2014 Download link, please? Sorry for that. I've fixed it. Carlos-Sz 1
RodgerWW Posted February 22, 2014 Posted February 22, 2014 Thank you for this. Using it for switching between wife's and my account in iTunes ... very handy!
Carlos-Sz Posted February 23, 2014 Posted February 23, 2014 Sorry for that. I've fixed it. Thank you. However, you said the "Passwords will only be stored in Keychain” but I found my password in a json file (config.json), in plain text, in the workflow data folder… gxfred 1
gxfred Posted February 24, 2014 Author Posted February 24, 2014 (edited) Thank you. However, you said the "Passwords will only be stored in Keychain” but I found my password in a json file (config.json), in plain text, in the workflow data folder… Oh, I'm so sorry. That was a mistake. At first, I stored passwords in the json file in order to test this workflow. But in the end I forgot to remove these code from the script. I've updated a new version to fix it. Thank you so much for pointing out. Edited August 17, 2015 by Sylv Carlos-Sz 1
gxfred Posted February 24, 2014 Author Posted February 24, 2014 (edited) Thank you for this. Using it for switching between wife's and my account in iTunes ... very handy! Please "Delete all accounts" first, and reinstall the new version. v1.1: http://cl.ly/U4Aw Edited February 24, 2014 by Summxt
RodgerWW Posted February 24, 2014 Posted February 24, 2014 Please "Delete all accounts" first, and reinstall the new version. v1.1: http://cl.ly/U4Aw OK, weird thing: now I have no way of adding an account. I type 'switch' and I get the "Switch Apple Account" up to the letter H in switch. BUT, once I hit the h, it blanks out and there are no settings at all.
RodgerWW Posted February 24, 2014 Posted February 24, 2014 1. Delete the folder "~/Library/Application Support/Alfred 2/Workflow Data/com.summxt.alfred.AppleAccountSwitcher". 2. Open "Keychain Access", type in "apple account switcher" to search, delete everything whose name is "Apple Account Switcher". Now it should work. Awesome: Everything working again ... thx.
Carlos-Sz Posted February 24, 2014 Posted February 24, 2014 Oh, I'm so sorry. That was a mistake. At first, I stored passwords in the json file in order to test this workflow. But in the end I forgot to remove these codes from the script. I've updated a new version to fix it. Thank you so much for pointing out. Thank you for the new version.
joha Posted January 20, 2015 Posted January 20, 2015 Hi, just installed this for Yosemite. It switches my iTunes User, but not the App Store, showing an iTunes Icon, other than in your Screenshot. Personally I need this for the App Store, not iTunes. Is there a way to fix this? Is this a change because of the new OS?
joha Posted January 20, 2015 Posted January 20, 2015 Hi, just installed this for Yosemite. It switches my iTunes User, but not the App Store, showing an iTunes Icon, other than in your Screenshot. Personally I need this for the App Store, not iTunes. Is there a way to fix this? Is this a change because of the new OS? Oh! It's working if the App Store is the frontmost App. Sorry for the noise...
AndrewKornberg Posted February 2, 2015 Posted February 2, 2015 Hi Great! Only problem is one of my accounts is not an email address. When I add that as an account, the workflow says it isn't an email address and does not proceed. Any way around it?? Thanks Andrew
gxfred Posted February 4, 2015 Author Posted February 4, 2015 Hi Great! Only problem is one of my accounts is not an email address. When I add that as an account, the workflow says it isn't an email address and does not proceed. Any way around it?? Thanks Andrew Sorry for my late reply. Somehow I forgot to follow this topic. It's actually a "feature" I thought can prevent user entering invalid account. But I didn't know Apple ID could be not an email address. Your account must be registered long time ago. I'm not planning to release a new version right now to remove this "feature" since it's a rare case. You can fix it manually: 1. Download new "switch.py": http://cl.ly/Zc1K/switch.py 2. In Alfred Preferences, right click this workflow, and click "Show in Finder". 3. Replace old "switch.py" with new "switch.py".
AndrewKornberg Posted February 4, 2015 Posted February 4, 2015 Hi Thanks. All working now. Thanks Andrew
Andrea990 Posted July 8, 2015 Posted July 8, 2015 Unfortunately with the last itunes update, it stopped working. Any bugfix?
RodgerWW Posted July 8, 2015 Posted July 8, 2015 Hmm, for me too in iTunes 12.2 Upon relaunching iTunes, it still will not sign out current account and log in new.
gxfred Posted July 8, 2015 Author Posted July 8, 2015 Unfortunately with the last itunes update, it stopped working. Any bugfix? Hmm, for me too in iTunes 12.2 Upon relaunching iTunes, it still will not sign out current account and log in new. Yeah, iTunes 12.2 has some UI changes that breaks this workflow. I'm on a trip now so I will fix it some days later when I get back.
gxfred Posted August 17, 2015 Author Posted August 17, 2015 Hmm, for me too in iTunes 12.2 Upon relaunching iTunes, it still will not sign out current account and log in new. Any news of a fixed version?! New version available now. Sorry for the delay, I've been so busy lately.
Memo Posted September 16, 2015 Posted September 16, 2015 Hi Sylv, I got Alfred specifically for this. However it unfortunately doesn’t work. I’ve tried deleting the complete app but that didn’t help. When I use it, it does switches to iTunes. But then nothing happens. Same thing when I’m already in iTunes. Nothing happens. The accounts are from different countries. I hope you can help me out with this little issue. Regards!
gxfred Posted September 17, 2015 Author Posted September 17, 2015 (edited) Hi Sylv, I got Alfred specifically for this. However it unfortunately doesn’t work. I’ve tried deleting the complete app but that didn’t help. When I use it, it does switches to iTunes. But then nothing happens. Same thing when I’m already in iTunes. Nothing happens. The accounts are from different countries. I hope you can help me out with this little issue. Regards! Hi Memo, Please take the following steps to send the log to me, so that I can find out what's wrong with the workflow in your machine. 1. Open Alfred Preferences, locate to this workflow. 2. There is a bug button at the top right corner of this workflow's design area. Click the bug icon to toggle debugging mode. (It will look like this: http://i.imgur.com/kjvTbBd.png) 3. Set the debugger to log All information instead of only Interesting Information. 4. Bring up the Alfred window using the hotkey, and run the Switch command to switch account. 5. Some information will show in the debugger after running the command. Copy and email them to me. Also please email me your Mac OS X version and iTunes version. Thanks. Edited September 23, 2015 by Sylv
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now