Manish Sapariya wrote:
Hi,
How do break out of x.times loop.
10.times do
findWindowLike(nil, /^Microsoft Internet Explorer$/, //) {|win|
puts "#{win.getClassName}\t#{win.getWindowText}"
#p win.getWindowRect
#p win
if(win.getParent().hwnd == $ie.hwnd) then
On 8/11/06, Manish Sapariya <[EMAIL PROTECTED]> wrote:
> Hi,
> How do break out of x.times loop.
Here's one answer to your question...
http://permalink.gmane.org/gmane.comp.lang.ruby.general/21817
___
Wtr-general mailing list
Wtr-general@rubyforge.org
ht
Hi,
How do break out of x.times loop.
10.times do
findWindowLike(nil, /^Microsoft Internet Explorer$/, //) {|win|
puts "#{win.getClassName}\t#{win.getWindowText}"
#p win.getWindowRect
#p win
if(win.getParent().hwnd == $ie.hwnd) then
#p $ie.hwnd, win.getP