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 3 days ago
1 week 4 days ago
3 weeks 3 days ago
5 weeks 5 days ago
20 weeks 3 days ago
23 weeks 3 days ago
24 weeks 1 day ago
24 weeks 1 day ago
24 weeks 3 days ago
26 weeks 5 days ago