[wtr-general] Re: bring_to_front function not working...

2009-10-06 Thread John Kolokotronis
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 you are

[wtr-general] Re: bring_to_front function not working...

2009-10-05 Thread sHiVa
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 prince3...@gmail.com wrote: Hi Al, I am using below code in my

[wtr-general] Re: bring_to_front function not working...

2009-10-05 Thread Prince3105
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