Need to set speaker destination in iTunes

I'm working on an update to an existing script for running iTunes. The existing script will fade up a particular playlist over time. What I want to do now is have the script channel the output to a remote set of speakers, do the fade up, play for a set amount of time, then reset the speaker output to the original source.
I have not had much luck finding any references on using Applescript to control which destination the music is routed to. The sources I've found all pre-date that ability. Can anyone point me in the right direction?
Doc

Hey Guys,
I found a few bits that should help accomplish the goal. However, it is all UI and actually furthering of UI that uses scripted mouse clicking so it's not what I would call a pretty solution. But if it works, it works, right! Ok so the solution I found comes from a site called Perceptive automation. The full code and forum can be found here. The script needed for remote switching is part of a poster's larger script used to control itunes via email. The part that is relevant however is as follows...
tell application "iTunes"
activate
delay 2
set visible of window "remote speakers" to true
delay 1
set {X, y} to position of window "remote speakers"
tell application "Extra Suites"
ES move mouse {X + 15, y + 57}
ES click mouse
end tell
delay 1
close window "remote speakers"
end tell
However the biggest issue with this script is that it requires a little bit of extra software in the form of a scripting addition called "Extra Suites." It is available from macupdate here. It is shareware and I believe the registration cost is $10. Hope this helps everyone out. Good Luck!
--Justin S.
EDIT: I don't use airtunes so I couldn't really test this... Also, if this does not fit your needs, maybe you may want to check out Rogue Amoeba's Airfoil, which is an airtunes streamin app that is scriptable.

Similar Messages

  • I need to set up a new iTunes account. How can I get all my music from the old account on to the new one??? Thanks../

    I have just bought an ipad 2 and wish to set up a new account as now I won't have to share with my sister. I want to get all the music off my current iTunes account & put it on to the ipad/new iTunes account. I'm not too sure how to do this though.... Please help lol :-) x

    If you mean iTunes libraries or computer user accounts, just create one. To make a new iTunes library on Windows, launch iTunes with the Shift key held down and choose Create Library.
    If you mean iTunes Store accounts, click here and request assistance.
    (79934)

  • How do I register a different iTunes account as default on a laptop? I need to set my wife's iTunes a/c as the default on her laptop instead of mine. At the moment she cannot use iTunes or her iPod. Thanks

    I first accessed my iTunes account using my wife's laptop. I then bought my own laptop and began using that for my iTunes account, so I am fine. However, I bought her an iPod which is effectively redundant because she can't seem to access her iTunes account using her own laptop - it just defaults to my iTunes account. I have tried de-authorising etc, and have even uninstalled and re-installed iTunes on her laptop to try to change the default settings, but none of this has worked. I can't believe it is that difficult to do this. She now has an iTunes account and an iPod which she doesn't use.
    All I need to do is switch the default iTunes account for her laptop form mine to hers. Pls can anyone help? Thks

    i'm not quiet sure atm but should normally work like this:
    connect to itunes store -> log out with ur account (upper right corner where ur apple id is displayed) -> sign in with ur wifes apple id -> activate computer (store->activate this computer)
    normally it should work this way but ur wife wont be able to use apps or music within itunes library purchased with the other apple id

  • HT2534 i need to set up an international itunes store

    how do I create an international itunes store account?

    There is no such thing as an international iTunes Store.  There are 120+ country-specific iTunes Store, each available only to residents of that country. 
    Please set up an account for the country in which you currently reside.

  • Need help setting up external hardrive to play itunes on 2nd Mac

    I have my main music collection on my Mac Pro (400 gigs).  I want to be able to use my Mac Mini downstairs to play my itunes collection.  I have attempted the following steps without success:
    Using my Mac Pro, I formatted a 2TB Seagate drive into two partitions (one to use as timemachine back up for the Mac Mini) the other to copy my itunes collection to.
    I copied my entire itunes folder onto that Seagate hardrive partition which I named :"Mac mini Itunes"
    plugged in seagate hardrive to the mac mini
    Opened itunes using the hold option button to choose the iTunes library on the external hardrive
    When I chose the iTunes folder located in that "mac mini iTunes" hard drive icon on my desktop, I get the following message:
    "The iTunes Library file is locked, on a locked disk, or you do not have permission for this file"
    When I go to the Sharing and Permissions info on that "mac mini Itunes" hard drive icon, it shows "You can only read"
    Below that I see that the Name and privilege info is grayed out and I can not change anything.
    The Ignore ownership on this volume is checked but grayed out and I can not change it.
    Any suggestions on how I can use this hardrive to play my iTunes collection on my mac mini?
    Do I need to reformat the Seagate drive and do something different while partitioning the drive?
    Should I reformat it using the mac mini instead of the Mac Pro and then copy my iTunes folder to it?
    Thanks for any help

    Hello blakemj. Welcome to the Apple Discussions!
    For your described network configuration, you will want to reconfigure your 802.11n AirPort Express Base Station (AXn) as a "wireless client" to the Buffalo wireless router.
    Here's how ...
    Either connect to the AX's wireless network or connect directly, using an Ethernet cable, to the Ethernet port of the AX, and then using the AirPort Utility in "Manual Setup" mode, make the following changes:
    (Note: As a third option, you can temporarily connect the AXn directly to an available LAN port on your Buffalo wireless router during setup, and then, place it at the desired location when complete.)
    AirPort > Base Station
    o Base Station Name: <rename or leave default>
    o Base Station Password: <enter desired password>
    o Verify Password: <re-enter desired password>
    o Remember this password in my keychain: (optional)
    o Set time automatically: (unchecked)
    AirPort > Wireless
    o Wireless Mode: Join a wireless network
    o Network Name: <existing Buffalo's wireless network>
    o Wireless Security: <select the encryption type of the existing wireless network>
    o Wireless Password: <enter the existing wireless network password>
    o Verify Password: <re-enter the existing wireless network password>
    Music
    o Enable AirTunes (checked)
    o iTunes Speaker Name: <enter desired speaker name>
    o iTunes Speaker Password: (optional)
    o Verify Password: (optional)
    o Click Update to write the new settings to the AX
    In iTunes:
    iTunes > Preferences... > Advanced > General
    o Look for remote speakers connected with AirTunes (checked)

  • HT204053 I share an iTunes account with my daughter, I just got an ipad and need to set up with my own I'd for iCloud sync  how can I keep my apps and music?

    I share an iTunes account with my daughter, I just got an ipad and need to set up with my own I'd for iCloud sync  how can I keep my apps and music?

    ColleenMcG wrote:
    You can continue to share the same iTunes account ID with your daughter and set up a separate iCloud account with a different ID.
    => is this a different iCloud account for each device?  I thought iCloud account ID had to match some iTunes account ID, for which we only have one i Tunes account?
    You need to set up a separate iCloud account for each person that does not want to share their iCloud data.  If you share an iCloud account with someone, any data you both sync with the shared account is merged, and you end up with each other's data on your device(s).  If, for example, you owned two devices and someone else in the family also owned two devices, you would both want your own iCloud accounts, and you would each set up your personal iCloud account on the two devices you own.  In other words, you want a separate iCloud account for each person to be used on the devices they own.  Each iCloud account has to have a separate Apple ID.  The ID does not need to be the same as the ID used for iTunes.  Many families perfer to share the same iTunes account/ID, but maintain separate iCloud accounts with different IDs to keep there data separated.
    ColleenMcG wrote:
    It does not need to be the same as the ID used for iCloud.
    => what ID, iTunes?  So I can have a separate iCloud account "only" ID which I also assume must be some [valid] email address?  The children currently do not have email accounts anywhere.
    Yes, I was referring to the iTunes ID not needing to be the same as the ID used for iCloud.  In order to set up an Apple ID your children will need to have a valid email address that can be verified by Apple.  Apple requires this so they have a way of contacting the owner if there is a problem with the account, such as when you may need to reset the password on the account.  When you set up the ID, Apple will send a verification email to this email account and you will need to click on the verificating link in the email to complete the process.  If they don't currently have an email account you can just set one up with gmail or another free email hosting service.  They don't have to use the account but you will need it to set up the ID.

  • We just purchased a new computer and need to set up Itunes on it for the 3 members of our family.  What is the best way to go about that?

    We have just purchased a new home computer and need to set up I-Tunes for everyone in our family.  Is that possible to do on one computer?

    To have  EVERYTHING  as it is Now...
    From your OLD computer...
    Copy your ENTIRE iTunes FOLDER to an External Drive... and then from the External Drive to your New Computer..
    Full Details Here  >  http://support.apple.com/kb/HT1751
    An Added Bonus is that you will have a Backup of iTunes.

  • I have just brought 2 mini's for my boys for xmas.  1. can I connect them both to my existing Itunes account or do I need to set up something different. and 2. can they be used on their dads account as well as mine, or only one?

    I have just brought 2 mini's for my boys for xmas.  1. can I connect them both to my existing Itunes account or do I need to set up something different. and 2. can they be used on their dads account as well as mine, or only one?

    You can set them up with your Apple ID if you want to. You can also set them up with their dad's Apple ID. Depending on how old the boys are, you can even let then have their own Apple ID's. The one thing that you don't want to do is have them use more than one Apple ID on their iPads.
    If you want to be able to share purchased content, then setting them up with either your ID or your husband's (?) ID would be the way to go. If the boys share an ID with one of you, they can download content that you have already purchased without having to pay for it again.
    If you and have the financial wherewithal to allow them to purchase their own individual content, I would recommend letting them have their own Apple ID. This way, as they grow older and eventually move on, they will have their own accounts, their own purchases .... No ties needed to your ID or to dad's ID. FaceTime and Messages will be a little easier to set up if they have their own ID's and they can have their own iCloud accounts as well. However, they must be 13 years old in order to have an Apple ID and iTunes account. If they are under 13, then it's a no brainer you will have to use yours or their father's ID.
    Whatever you decide to do, just don't switch from one ID to another ID on the iPads. That gets confusing and they could end up locking themselves out of one of the ID's for 90 days if they download a past purchase using a different ID.

  • Hi. My husband and I have always shared the same iTunes account.  Since installing iCloud, all our contacts and calenders have merged on our iPhone 4, which we do not want.  How do I rectify this? Does my husband need to set up his own apple ID?

    Hi. My husband and I have always shared the same iTunes account.  Since installing iCloud, all our contacts and calenders have merged on our iPhone 4, which we do not want.  How do I rectify this? Does my husband need to set up his own apple ID?  If so, where do I need to change his email address info, so that his calender and contacts remain his?  Thank you

    You can continue to use the current AppleID for iTunes, but your husband can create a new AppleID to use to create a new iCloud account that will be his own and not overlap with yours.  If you do not have another email address to use for an AppleID, just get a free Gmail account and use that.
    You can have as many AppleIDs as you want (or at least, as many as you have email addresses for).  You can use a separate AppleID for the store, another for iCloud, and even another for iMessage if you wish.
    You will want to keep the current one as the shared one for the store as all your previous purchases are permanently tied to it, and thus you need that AppleID to update or redownload your current purchased content.

  • I have a MacBook Air w/ 64 GB. I have hours and hours of music/vids/etc. Is it possible to have an external drive specifically set-up for my iTunes? If so, what do I need to do? Thanks!

    I have a MacBook Air w/ 64 GB. I have hours and hours of music/vids/etc. Is it possible to have an external drive specifically set-up for my iTunes? If so, what do I need to do? Thanks!

    Yes, many people do just that. Copy your iTunes folder to the external drive. Once done, open iTunes with Option held down and select the new location of the library file.

  • HT202213 what steps do I need to set up a new pc with my existing itunes library?

    I just purchased a new PC.  I have itunes set up on my old PC.  How can I bring iTunes into my new pc?  Do I need to start with installing/downloading iTunes and then transfer over the libraries?

    Additionally...
    These are two possible approaches that will normally work to move an existing library to a new computer.
    Method 1
    Backup the library with this User Tip.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Restore the backup to your new computer using the same tool used to back it up.
    Keep your backup up-to-date in future.
    Method 2
    Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
    Both methods should give the new computer a working clone of the library that was on the old one. As far as iTunes is concerned this is still the "home" library for your devices so you shouldn't have any issues with iTunes wanting to erase and reload.
    I'd recommend method 1 since it establishes an ongoing backup for your library.
    If you have an iOS device that syncs with contact & calendar data on your computer you should migrate this information too. If that isn't possible create a dummy entry of each type in your new profile and iTunes should offer to merge the existing data from the device into the computer, otherwise the danger is that it will wipe the information from the device.
    If your media folder has been split out from the main iTunes folder you may need to do some preparatory work to make it easier to move. See make a split library portable.
    Should you be in the unfortunate position where you are no longer able to access your original library, or a backup of it, then see Recover your iTunes library from your iPod or iOS device for advice on how to set up your devices with a new library with the maximum preservation of data.
    tt2

  • I need help setting up airport express to play my Itunes music to my stereo

    Hello I am hoping someone can help me as I am at a total loss here. I have had an airport express for a few years and would stream my music to my stereo without any problems. A few months ago it would cut out every now and again but soon it got so bad it was unlistenable. I reset it many times  but to no avail.
    Now when I try to reset it by opening the airport utility it scans but does not find the airport express.
    I bought a pluglink ethernet adapter and connected it to the Airport Express  hoping I can run it through that but when I open up the airport utility it scans but still will not recognize the airport express.
    Is there some way to set this up .
    I have an IMac which has the latest operating system.
    Sincerely grateful for any help in this matter  Paul K.

    Hello blakemj. Welcome to the Apple Discussions!
    For your described network configuration, you will want to reconfigure your 802.11n AirPort Express Base Station (AXn) as a "wireless client" to the Buffalo wireless router.
    Here's how ...
    Either connect to the AX's wireless network or connect directly, using an Ethernet cable, to the Ethernet port of the AX, and then using the AirPort Utility in "Manual Setup" mode, make the following changes:
    (Note: As a third option, you can temporarily connect the AXn directly to an available LAN port on your Buffalo wireless router during setup, and then, place it at the desired location when complete.)
    AirPort > Base Station
    o Base Station Name: <rename or leave default>
    o Base Station Password: <enter desired password>
    o Verify Password: <re-enter desired password>
    o Remember this password in my keychain: (optional)
    o Set time automatically: (unchecked)
    AirPort > Wireless
    o Wireless Mode: Join a wireless network
    o Network Name: <existing Buffalo's wireless network>
    o Wireless Security: <select the encryption type of the existing wireless network>
    o Wireless Password: <enter the existing wireless network password>
    o Verify Password: <re-enter the existing wireless network password>
    Music
    o Enable AirTunes (checked)
    o iTunes Speaker Name: <enter desired speaker name>
    o iTunes Speaker Password: (optional)
    o Verify Password: (optional)
    o Click Update to write the new settings to the AX
    In iTunes:
    iTunes > Preferences... > Advanced > General
    o Look for remote speakers connected with AirTunes (checked)

  • I accidentally set up my new ipad in itunes under the name of my existing ipad and need to set it up as a new device. Help. I cannot find a way to start fresh.

    I accidentally set up my new ipad in itunes under the name of my existing ipad and need to set it up as a new device. Help. I cannot find a way to start fresh.

    That's probably not a good idea to try to share apps since you will have to switch ID's each time you update apps and sync apps from iTunes.
    And technically - according to Apple's terms - you cannot share apps using different ID's. You can actually lock yourself out of an ID for 90 days if you switch ID's and if you associate the iPad with another ID.
    The bold type is a copy and paste from the site that I referenced below.
    When you turn on iTunes Match or Automatic Downloads, or when you download past purchases on an iOS device or computer, that device or computer becomes associated with your Apple ID. This article describes how to manage these associations.
    http://support.apple.com/kb/ht4627

  • HT1311 I have changed the apple ID on my iphone successfully - can I now just connect to the itunes account on our PC which is in my husbands name? as both of our iphones used to connect to it when under his apple account. Or do i need to set up itunes my

    I have successfully changed my apple account using my iphone. Can i now just plug my iphone into my pc using the itunes account in my husbands name (this used to be my apple id too) or do I need to set up a whole new itunes in my name and download all music etc to that from scratch...........i am not very technical so very basic answers would be appreciated!!

    Hello erbim,
    Thanks for using Apple Support Communities.
    The Apple ID you sign in with will allow you access to the purchases made on that ID.
    For more information on this, take a look at this article:
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895
    Best of luck,
    Mario

  • I have had 4 mac computers and after years of downloading songs from itunes, I keep recieving a message that I need to set up an account.  when I try to make a new account, i get an error that says i already have an account.  please help!

    I have had 4 mac computers and after years of downloading songs from itunes, I keep recieving a message that I need to set up an account.  when I try to make a new account, i get an error that says i already have an account.

    Have you tried checking the Store drop-down menu in the iTunes interface to see if you are signed in the existing account?

Maybe you are looking for

  • Gtk 1.2.10 library

    is it possible that because a library was not fully unloaded and replaced in same directory can cause errors when a new executable based on the library (or the same executable) is executed while the other executables are still loaded with their own "

  • Runexec( ) & Inherited hashCode

    Question: Can Runexec( ) be used to start a .exe. or .bat file from within a Java program? Also, Does the Exception class inherit hashcode from the Throwable class.? May we contact you?: yes

  • Is it possible to track and IPOD Touch to locate it?

    My sons ipod touch (brand new)*he bought it with his birthday money and only had it for one week** was stolen at a family Thanksgiving day dinner. The worst part is that the only people their were family; cousins, aunts, uncles, grandparents, etc. An

  • Thinking about upgrading my os

    I was thinking of upgrading my macbook's os to Leopard (not snow leopard) but I have a macbook intel os x 10.5 version so would my systembe eligible to upgrade? The reason for not going for Snow Leopard is because I have heard bad things about it (bu

  • Query to find the VO, AM, CO extensions in OAF?

    Hi,   Could anyone please let me know how to find VO, AM, CO extensions in OAF? Thanks, Ram