Sha256: dc6171e157d27bc89924a23df1eb0d5ecde975bdd9e7c07bb602ce93d1d8e652
Contents?: true
Size: 472 Bytes
Versions: 6
Compression:
Stored size: 472 Bytes
Contents
require 'win32ole' ie = WIN32OLE.new('InternetExplorer.Application') vis = ie.ole_method_help('Visible') puts "VISIBLE: #{ie.visible}" puts "VISIBLE w/ []: #{ie['Visible']}" puts "VISIBLE w/ Invoke: #{ie.invoke('Visible')}" ie._setproperty(vis.dispid, [true], [true]) ie.Visible = TRUE # Upper-case puts "VISIBLE: #{ie.visible}" sleep 4 ie['Visible'] = false puts "VISIBLE: #{ie.visible}" #puts ie.ole_methods ie.gohome puts "NAME: #{ie.name}" # Lower-case ie.quit
Version data entries
6 entries across 6 versions & 1 rubygems