Forum: Ruby QT Integrace using Ruby

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Raji R. (Guest)
on 2009-03-07 13:00
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
This topic is locked and can not be replied to.