ie = IE.new
ie.goto('http://www.google.com')
ie.bring_to_front

-Charley

On 4/4/07, Jason He <[EMAIL PROTECTED]> wrote:

 Dear all,



I use a batch script in Windows command prompt (console) to start ruby
scripts, when capture the active window using screen_capture("test.jpg",
true), it will capture the console window rather than the Internet Explorer,
how to make IE as active window and bring it forward by watir/ruby script?



Regards,

Jason

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to