From: Mike Date: 2006-10-07T22:55:16+09:00 Subject: WMP WIN32OLE in Ruby/IRB problem The following code plays the playlist thourgh IRB in FXRI, but playback doesn't start when using IRB from the command line. oPlayer = WIN32OLE.new("WMPlayer.ocx.7") oPlayer.Settings.autoStart = 1 oPlayListCollection = oPlayer.PlayListCollection.GetAll() oPlayer.currentPlaylist = oPlayListCollection.item(0) #plays in FXRI, nothing happens in IRB also oPlayer.Controls.play # doesn't work in IRB either. I'm a newbie, so maybe I'm missing something obvious? any thoughts appreciated.