Jump to content

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

Share this post


Link to post

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… 

Share this post


Link to post

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

Share this post


Link to post

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 by Summxt

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

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?

Share this post


Link to post

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

Share this post


Link to post

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

Share this post


Link to post

 

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

 

Share this post


Link to post

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.

Share this post


Link to post

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.

 

 

Any news of a fixed version?!

 

New version available now. Sorry for the delay, I've been so busy lately.

Share this post


Link to post

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!
 

Share this post


Link to post

 

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

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...