I've talked in the past about automating iTunes, and about automating Excel. Let's now look at how to use Ruby to produce an iTunes report in Excel. Our finished product will be a sorted worksheet containing Artist, Year, Album, and Song Name.
As usual, we'll be working with the win32ole library, so include the following at the top of your code:
require 'win32ole'
Recent comments
1 week 1 day ago
1 week 2 days ago
3 weeks 1 day ago
5 weeks 2 days ago
20 weeks 20 hours ago
23 weeks 23 hours ago
23 weeks 6 days ago
23 weeks 6 days ago
24 weeks 1 day ago
26 weeks 2 days ago