W
Wall Lee
Hi,
I found a verty strange thing on my machine: when I run the following
script, it only shows windows of Explorer, but no internet Explorer
window, though I do open an IE window:
require 'win32ole'
shell = WIN32OLE.new('Shell.Application')
shell.Windows.each do |window|
puts "file=#{window.FullName}"
end
the output is:
file=C:\Windows\Explorer.EXE
expects another ie window like file=c:\program files\Internet
Explorer\IEXPLORER.EXE.
This make me crazy. Any help will be great appreciated.
I found a verty strange thing on my machine: when I run the following
script, it only shows windows of Explorer, but no internet Explorer
window, though I do open an IE window:
require 'win32ole'
shell = WIN32OLE.new('Shell.Application')
shell.Windows.each do |window|
puts "file=#{window.FullName}"
end
the output is:
file=C:\Windows\Explorer.EXE
expects another ie window like file=c:\program files\Internet
Explorer\IEXPLORER.EXE.
This make me crazy. Any help will be great appreciated.