I'm trying to get this automated system going for my iTunes through
win32ole, but I'm stuck at a certain point of ignorance.
require 'win32ole'
itunes = WIN32OLE.new('iTunes.Application')
It's all good. But what I want to do involves more than just playing
songs and going through the library. I notice that of the many
WIN32OLE_METHOD objects in the array returned by itunes.ole_methods
there's one named SetOptions.
I know that it takes one required parameter, labeled as
WIN32OLE_PARAM:options, but I can't find anything helpful at all on what
this does, or how to pass stuff through the parameter. The only
tutorials I can find on iTunes control through win32ole all stem from
the 2 posts on rubonwindows.blogspot.com, one of which is excel, the
other of which goes into detail about the laughably obvious commands.
And of all the others, shouldn't there be a little documentation on
these? Somebody had to write them all, right?
And I am NOT going to trial-and-error all day through irb with this.
This WILL affect my iTunes settings, unless someone had the bright idea
of making a method do something other than what it heavily implies on
the tin.
Okay, rant stage is over. I'm just mad I can't find anything.
-hamstap85
···
--
Posted via http://www.ruby-forum.com/.