11件ヒット
[1-11件を表示]
(0.030秒)
検索結果
-
WIN32OLE
_ EVENT # handler=(obj) -> () (9.0) -
イベント処理を実行するオブジェクトを登録します。
...d.to_s}, args=#{args.inspect}"
end
end
ie = WIN32OLE.new('InternetExplorer.Application.1')
event = WIN32OLE_EVENT.new(ie, 'DWebBrowserEvents2')
event.handler = IeHandler.new
ie.Navigate2 'http://www.ruby-lang.org/ja/'
loop do
break if event.handler.completed
WIN32OLE_EVENT.m......essage_loop
end
ie.Quit
WIN32OLE_EVENT#on_eventなどの呼び出しでブロックが登録されている場
合、そちらが優先されます。...