Jump to content

Apple Account Switcher


Recommended Posts

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

 

Download
v1.5: http://cl.ly/cFsl
v1.4: http://cl.ly/YC2k
v1.3: http://cl.ly/Xqnl
v1.2: http://cl.ly/U5YK
v1.1: http://cl.ly/U4Aw
v1.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 address
http://www.packal.org/workflow/apple-account-switcher

 

 

wmz4vUm.png
 
dSFFKuT.png
 
0EHsBYr.png

 

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 by Sylv
Link to comment

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 by Sylv
Link to comment

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.

Link to comment
  • 1 month later...
  • 9 months later...

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?

Link to comment

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...

Link to comment
  • 2 weeks later...

 

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".

 

Link to comment
  • 5 months later...

Unfortunately with the last itunes update, it stopped working. Any bugfix?

  

Hmm, for me too in iTunes 12.2

iTunes122.png

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.

Link to comment
  • 4 weeks later...
  • 3 weeks later...
  • 5 weeks later...

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!
 
Link to comment

 

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 by Sylv
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...