try
autoit.Send("^N")
instead of autoit.Send("{Ctrl+N}")
t
Regards,
neeraj girdhar
On Tue, Feb 8, 2011 at 12:17 PM, 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]
>
--
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]