Hi Aidy, <br><br> You can send tabs through AutoIt. Take a look at WindowHelper.rb. You can easily extend it with something like this:<br>class WindowHelper<br> def push_tab<br> @autoit.WinWait "Your dialog title", ""
<br> @autoit.Send "{TAB}"<br> end<br>end<br><br>-Charley<br><br><div><span class="gmail_quote">On 7/12/06, <b class="gmail_sendername">Adrian Rutter</b> <<a href="mailto:Adrian.Rutter@tnt.com">Adrian.Rutter@tnt.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Hi,<br><br>Is there a better way of sending tabs through Watir than using the windows
<br>scripting host?<br><br> require 'win32ole'<br> wsh = WIN32OLE.new("WScript.Shell")<br> i=0<br> loop do<br> wsh.SendKeys "{TAB}"<br> i += 1<br> break unless i <=14<br> end<br><br>cheers
<br><br>aidy<br><br><br><br>---------------------------------------------------------------------------------------------------------------<br>This message and any attachment are confidential and may be privileged or otherwise protected from disclosure.
<br>If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system.<br>If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person.
<br>---------------------------------------------------------------------------------------------------------------<br>_______________________________________________<br>Wtr-general mailing list<br><a href="mailto:Wtr-general@rubyforge.org">
Wtr-general@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/wtr-general">http://rubyforge.org/mailman/listinfo/wtr-general</a><br></blockquote></div><br>