Sync two iPhones with two different iTunes and iPhoto libraries script
I'm sure this is answered elsewhere, but I was not able to find a solution to this easily. My wife "L" and I, "J" have iPhones, also different tastes in music, and wanted a way to not have all of our own pictures filling up our default iPhoto library. So we first set up two different iTunes and iPhoto libraries. Two diffrent contact libraries would be nice, but contact groups worked okay for this. But then everytime we would sync, it meant opening both iTunes and iPhoto while holding the option key then selecting which library depending on which phone was going to be pluged in. Believe me, you only need to have "Automatically sync" turned on and plug in the wrong iPhone before all sorts of problems arise!
Let me state, I am not fluent with AppleScript, but rather I found bits and pieces close to what I wanted here and there on the www and kept playing until it worked. This works flawlessly everytime on our MacBook, and, unless your initials are J & L and there are only two of you, you will have to change some letters here and there throughout the script to make it work for your situation. Think of this as a rough draft and start to play. I'm sure there is a simpler way to write this script, so to all the real authors, please re-write!
So we have two libraries for iTunes and iPhoto. One set of libraries named J's iTunes library and J's iPhoto library, and another two named L's iTunes library and L's iPhoto library. I wanted to create one app that would close the current libraries, and open the correct ones (or return to our default libraries) depending on what iPhone was to be synced. Using AppleScript Editor and saving the script as an application, this is what I came up with:
display dialog "Do you want to continue to set iTunes and iPhoto libraries?" buttons {"Cancel", "Continue"} default button "Continue"
tell application "iPhoto" to quit
tell application "iTunes" to quit
set Y to the button returned of (display dialog "Which libraries do you want to use?" buttons {"L's", "Reset to Defaults", "J's"} default button "Reset to Defaults")
if Y = "Reset to Defaults" then set Y to "i"
if Y = "L's" then set Y to "l"
if Y = "J's" then set Y to "j"
tell application "System Events"
key down option
delay 1
tell application "iPhoto"
activate
delay 3
tell application "System Events"
key up option
end tell
end tell
end tell
tell application "System Events"
keystroke Y
tell application "System Events"
key code 36
end tell
end tell
delay 2
tell application "System Events"
key down option
tell application "iTunes"
activate
tell application "System Events"
key up option
keystroke return
end tell
end tell
end tell
tell application "System Events"
keystroke Y
end tell
tell application "System Events"
key code 36
end tell
if Y = "i" then tell application "iTunes" to quit
if Y = "i" then tell application "iPhoto" to quit
Hi, thanks for your answer.
Unfortunately this does not work because iTunes still keeps one account with the store active regardless which library I open. So when I switch the account in the store it will be switched for both libraries. That means that I can not separate the iPhone applications and all the other specific sync parameters.
I thought about using my wife's account on the Mac and pointing iTunes to the new library - the problem here is that then the iPhoto library is not accessible any more......
I can't really believe that there is no solution from Apple - I mean there must be more couples and families out there with 2 and more iPhones syncing with one iTunes / iPhoto etc libraries.
Any other ideas? Thanks in advance!
Similar Messages
-
Can I sync my iphone with 2 different Itunes Library without erasing data?
Hello,. I would like to know if its possible to sync my iphone with two different Itunes library without data from first itunes library getting deleted when sync with second itunes library, (I mean, at least the music and videos)
Thanks!iOS devices can only sync with one library at a time. To sync with a new library, you have to remove the current libraries content.
An alternative would be to move content to one computer (using an external drive or homesharing), and then sync with the library you choose. -
I had synced my phone onto a different iTunes account without thinking about it. I had purchased a few songs and episodes from the iTunes library and now I'm having a hard time recovering them. The new iTunes lets you purchase previously downloaded apps and books but I can't find anywhere to download my songs and tv shows. I have the list items in my previous purchases history but every time I go to download it again it asks to buy again. Is there anyway of getting them back for download or will I have to suck it up and pay again? I have an iPhone 3GS if that helps. Thanks for your time.
Not 100% sure, but I think even though it says "buy", it will recognize that you have already bought it and it won't charge you again.
Maybe someone here can confirm that that is indeed the case? -
Syncing an Iphone with a different iTunes account to my iTunes acct?
My son has an older model Iphone that I want to download my apps & music onto. The phone already has my ex-wife's iTunes account on it. When I hook up his phone to my laptop and try syncing it to my acct it always says "syncing" and at the top of my computer "backing up LP's iPhone" but nothing happens. Please advise.
The iphone will sync/access music with ONE computer at a time.
Move all of your music from your old computer to your new one first, then sync.
You can use your backup copy to move the music to the new computer. -
I have downloaded all of the recent upgrades for both Itunes and Iphone. Now for some reason, not all of my songs in my playlists are transferring when I sync. Previously I have had the songs in the playlists on my phone, but now some of them are not there although they are listed and show in Itunes. Any ideas?
iTunes will only copy back iTunes purchased music. If you don't still have a copy of the music that you copied from CDs or bought from other stores anywhere (e.g. on another computer or on your backup of your library) then there are some third-party programs listed half-way this page which should be able to copy them back : Recover your iTunes library from your iPod or iOS device.
-
How to sync iphone with a different itunes and different apple ID without erasing
I have 2 iphones and both have different contents on them, and both are synced to one apple id and itunes account. What im looking to do is "unlink" one of my iphones and connect that to a different apple id and itunes account on a different computer, WITHOUT deleting anything on that iphone. Because when i go to sync on a differnt computer, i am forced to ease my iphone. any help would be greatly appreciated thanks
You cannot.
-
My wife and I have iPhones with 2 different iTune accounts and iCloud accounts, How can I set my Mac and iTunes up to be able to sync all as 1?.
You can't merge two iTunes accounts.
-
Hi, we have two iphones with two accounts. The apple tv automatically syncs with one account to play music from the iphone to apple tv. How can I use my iphone to do the same?
Our experience is a little different, we have different iTunes accounts for different family members, each family member has their own iTunes library on their own mac, each mac uses my Apple ID for homesharing and we are able to play purchased content from each library on the Apple TV.
-
HT1386 can i sync 20 iphones with the same itunes?
can i sync 20 iphones with the same itunes?
From tt2:
In brief...
You can sync as many devices as you like to a single library.
Up to five computers can be authorized for your account's protected content.
Each device can hold protected content from up to five different accounts.
Managing apps purchased with more than one account is a chore.
A combination of up to 10 iOS devices and computers can be authorized for automatic downloads of your purchases.
tt2 -
How can I sync my iPhone with the new iTunes without erasing my iPhone?
My iTunes computer crashed and I needed to format it. How can I sync my iPhone with the new iTunes without erasing my iPhone?
See this user tip ...
Syncing to a "New" Computer or replacing a "crashed" Hard Drive -
i have recently bought an iphone 5 and have synced it with my girlfriends laptop and taken some of her music. i have also bought music off my iphone. i want to sync the iphone with my parents imac and take some of my dads music. Is this possible without wiping the iphone?
An iOS device can only be synced with one iTunes library.
-
Syncing my iPhone with Outlook, in iTunes, only transfers the information from Outlook to my iPhone, not vise versa. How can I configure it to transfer data from my iPhone to Outlook as well?
I had a backup from outlook that I restored to outlook and then used Itunes to sync the Iphone
I had to turn off the ICloud sync
The only problem now is that it does not sync my calendar or contacts unless i plug the phone into my compluter and tell Itunes to sync them -
I am lost. I tried to sync my Iphone with my new itunes on my new computer and it says are you sure you want to synce apps? All existing apps and there data on the iphone will be replaced with apps from this itunes library. HELP!!!!!
You need to Copy iTunes from Your Old Computer to your New Computer...
See Here
iTunes: How to move your music to a new computer
Or...
From your Old Computer... Copy your ENTIRE iTunes FOLDER to an External Drive... and then from the External Drive to your New Computer..
An Added Bonus is that you will then have a Backup of iTunes...
Backup iTunes to an External Drive
http://support.apple.com/kb/HT1751 -
My laptop died so I've installed itunes onto another PC and my music is all on an external hardive which is connected to the new PC. How can I sync my ipod with the new itunes and get all the music onto itunes?
You might consider itunes match for moving CDs you've copied into your itunes library if you dont have a way to use home sharing.
iTunes match is an optional service offered by apple that costs about $25 a year. It scans your music library and if it finds music that is already in apple's itunes catalog it'll automatically "unlock"/"store" these in the cloud for you. Items that it does not find in the catalog it'll upload and store these in the cloud for you and you can download them on your devices. See http://www.apple.com/itunes/itunes-match/ -
How do i sync my iPhone with a different computer without losing all data?
How do i sync my iPhone with a different computer without losing all data?
look here:
http://support.apple.com/kb/HT1202
Maybe you are looking for
-
Sales order does not allow make-to-order production
Dear Friends, I am trying to do do planned order for sales order in MD50 it was showing the error message as "Sales order does not allow make-to-order production" Can any one solve this Shakthi
-
Application Server failed to start- Could not sign on to database HR91
Hello there, I am not able to boot App Server Domain (started but the status is idle.) In the log, i also find the message that PSBRKDSP_dflt.452 (0) [04/01/11 23:35:53](0) PeopleTools Release 8.51 (WinX86) starting. Tuxedo server is PUBSUB(98)/100 P
-
How do I get Acrobat XI pro on a Mac to work fully, and not just act like Acrobat Reader. i just paid and downloaded it, entered new serial number when requested, but when I open a .pdf I have no pro features showing (such as editing tools, convert t
-
Is it possible to delete the (left & right) swipe between my articles from my folio?
Hello all, Sorry, i'm new here. Maybe my question is stupid. I have this problem (swipe) in Adobe Content Viewer (on my ipad). I have used InDesign CC* to create a simple app for my kids (a sort of mini game : kid must find (by clicking) 2 objects on
-
clear i_final1. refresh i_final1. if i_final[] is not initial. loop at i_final. *if i_final-augbl eq space* . loop at i_final1. i_final1-mblnr = i_final-mblnr. i_final1-mjahr = i_final-mjahr. i_final1-budat = i_final-