![]() ![]() Set batchText to value of first UI element of webArea whose value starts with "Viewing Batch" Set webArea to UI element "loading iTunes store" of splitter group 1 of window "iTunes" of application process "iTunes" Set target_file to ((path to documents folder) as text) & dateString & "_iTunes_Purchase_History.txt" Set dateString to do shell script "date \"+%Y-%m-%d_%H.%M.%S\"" In iTunes, go to Store > View Account, log in, scroll to Purchase History and click See All, then, when the screen showing Batch 1 out of N is visible, run the following script in Script Editor: tell application "System Events" Any changes Apple makes to the iTunes Store account interface will likely break this script. This worked on OS X Yosemite 10.10.5 with iTunes 12.3.2.35, and on OS X Mavericks 10.9.5 with iTunes 12.3.2.35, on or around February 28th, 2016. ![]() I would welcome any performance enhancements anyone can suggest. Be aware that it runs very slowly simply retrieving the class of an object from iTunes can take almost a second. ![]() My history goes back to 2005, and the iTunes Store session kept timing out, so I had to run it it batches, but the following script does work. You also asked, "Has anyone actually succeeded in doing this?" Sort of. You asked, "is there any way to script the UI?" Yes, if you are on a Mac. So is there any other way to get access to this information except for the inadequate iTunes interface?Īnd if the only way is via the iTunes interface, is there any way to script the UI so I could write a program that iterated through all results and extracted them? Has anyone actually succeeded in doing this? I have not been assiduously saving all the email receipts regarding my purchases, so I cannot access this information by doing bulk processing of those old emails. It's almost like they're trying to make it hard to see how you spend on the App Store or iTunes Store. And it does not even show purchases as individal line items, but shows them grouped into collections you need to click into. It does not show all purchases, but instead shows results one screenful at a time. It does not let me download the results, but only shows them in iTunes. I know that from within iTunes I can go to Account / View Account / Purchase History, but this has numerous problems. I'm wondering if anyone has found a way to download one's entire iTunes or App Store purchase history as a CSV file? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |