1 require 'win32ole'
2 
3    a = WIN32OLE.new('htmlfile')
4    methods = a.ole_methods.select { |m| m.visible? }
5    methods.each do |meth|
6        puts "#{meth.name}(" +meth.params.map {|p| "#{p.ole_type} #{p.name}" }.join(''+ ")"
7    end
8 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-02
  • 2022-01-17
  • 2021-09-07
  • 2021-06-06
  • 2021-07-19
猜你喜欢
  • 2021-11-24
  • 2022-12-23
  • 2021-06-03
  • 2021-07-01
  • 2021-08-29
  • 2021-11-11
  • 2021-05-18
相关资源
相似解决方案