QT Integrace using Ruby


#1

Hi all,

I am working on QuickTime Automation. I did not see any documentation on
win32ole methods to set proxy in the QTPlayer.

Is there any option available to set the proxy in the Quick Time player
done using ruby.

The proxy settings availabed in QuickTime Player under
Edit–>Preferences->QT Preferences menu.

Code Snippet

require ‘win32ole’

qtlib = WIN32OLE.new(“QuickTimePlayerLib.QuickTimePlayerApp”)

#get a player and open a movie
player = qtlib.Players(1)
player.visible = false #this line doesn’t work…
player.OpenURL(‘C:\temp\source.mov’)

#get the controller
control = player.QTControl