Maybe try using AutoIT's "WinSetOnTop" function directly? Like this:
require 'win32ole'
AutoIt = WIN32OLE.new("AutoItX3.Control")
AutoIt.WinSetOnTop("[REGEXPTITLE:#...@ie.get_title}]", "", 1)
Regards,
John
--~--~-~--~~~---~--~~
You received this message because
Thsnks Siva,
For your instant reply, i registered and other AutoIT methods are
working without any error. My actual issue is if my application
is in background and if i apply bring_to_front() function it should
bring the application to foreground. isn't it? but it wont bring to
foreground
and s
Hi,
Did you register the AutoItx3.dll?
Run the following command from command prompt.
"regsvr C:\ruby\lib\ruby\gems\1.8\gems\watir-1.6.2\lib\watir
\AutoItX3.dll"
Thanks & Regards
Siva Phaneendra K
On Oct 5, 5:34 pm, Prince3105 wrote:
> Hi Al,
>
> I am using below code in my scripts. My script