try
autoit.Send("^N")
instead of autoit.Send("{Ctrl+N}")
On Feb 8, 11:47 am, Priya D <[email protected]> wrote:
> Can anybody tell me how to write Ctrl+N in autoit.Send.
> I have the below code which doesnot work.
>
> require 'win32ole'
>
> autoit = WIN32OLE.new('AutoITX3.Control')
> autoit.Send("{Ctrl+N}")
> autoit.Send("{Enter}")
> sleep 10
>
> Thanks
> Priya
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]