simple? iTunes scripting

Discussion in 'Mac Programming' started by Icebird, Apr 7, 2010.

  1. Icebird macrumors member

    Jun 25, 2007
    I've been looking everywhere on how to do this, and I feel like it should be really simple but I can't seem to find it anywhere.

    I'm trying to get access to the XML that iTunes produces for the list of iPhone/iPod Touch/iPad Apps in the new iTunes. I know there's an XML you can export for the Music library, and plenty of apple scripts for controlling other parts of iTunes, but is there any way to simply get this list of Apps?

    If you go to the list view for the Apps, you can practically see the XML, but there doesn't seem to be a way to export it. If you go to the Mobile Applications folder in the iTunes folder, you can see a list of all the App filenames. So I feel like there should be a way.

    Any ideas? Is there a way to do this with Applescript?
  2. robbieduncan Moderator emeritus


    Jul 24, 2002
    I think you're trying to get access to something that doesn't exist. iTunes does not use the XML files internally at all: they are simply there to allow third party software to interact with the library. So despite seeing a list on screen this does not mean that there is an XML file to go with it. As there is no reason (in Apple's view) for third party software to go messing with apps there is no mention of them in the XML.

Share This Page