Re: [Wtr-general] maximize that window

2005-07-17 Thread Bret Pettichord
Thanks. I checked this in as new method ie.maximize(). I also added ie.minimize and ie.restore. Bret At 07:16 PM 7/14/2005, Tuyet Cong-Ton-Nu wrote: OK, I got it working. Easier than I thought. Attached is the WinMaximize.rb To use it you need to: 1) copy the WinMaximize.rb to this

Re: [Wtr-general] maximize that window

2005-07-15 Thread Angrez Singh
  Hi, Yes, it worked for me as well but I have to register AutoItX3.dll first. So in case you are using this code, register it first using "Regsvr32". The dll is found inside the watir folder. Regards, Angrez On Fri, 15 Jul 2005 Tuyet Cong-Ton-Nu wrote : >OK, I got it working.  Easier than I t

[Wtr-general] maximize that window

2005-07-14 Thread Tuyet Cong-Ton-Nu
OK, I got it working.  Easier than I thought.   Attached is the WinMaximize.rb   To use it you need to:   1) copy the WinMaximize.rb to this path: C:\ruby\lib\ruby\site_ruby\1.8\watir   2) include at the top of the script: require 'watir/WinMaximize'   3) add in the body of your

[Wtr-general] maximize that window

2005-07-14 Thread Tuyet Cong-Ton-Nu
OK, I volunteer. I can give it a shot since I need this feature. I don't know what the process it for submitting the code after I test it out though.     ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/

[Wtr-general] maximize that window

2005-07-14 Thread Bret Pettichord
Autoit has commands to maximize a window. We should add ie.maximize as an interface to this. We simply need to get the window title from ie.ie and then pass it to Autoit's WinMaximize. Any volunteers? _ Bret Pettichord www.pettichord.com ___