Any solution to this problem. any work around etc.

Regards
Arihan

On Fri, Apr 9, 2010 at 4:03 PM, Ethan <notet...@gmail.com> wrote:

> When the system is locked, windows doesn't send things like keypresses and
> button presses, as far as I've been able to determine. I know of no
> workaround for this, and would also be quite interested if anybody else
> knows one.
>
> On Fri, Apr 9, 2010 at 07:33, arihan sinha <arihan.si...@googlemail.com>wrote:
>
>> Hello All,
>>
>> To handle the download prompt I am using the below code as
>>
>> save_dialog = WIN32OLE.new("AutoItX3.Control")
>> //////
>> ///
>>          $ie.link(:text, "Download images").click_no_wait
>>
>>         click_link_text_no_wait("click Link Download images", "Download
>> images")
>>
>>             save_dialog.WinWait("File Download","",20)
>>
>>             save_dialog.WinActivate("File Download")
>>
>>             #save_dialog.Send("{TAB}")
>>
>>             save_dialog.Send("{Enter}")
>>
>>             sleep 10.0
>>
>> This piece of code is working fine but when the system is locked then its
>> not working.. any idea how to handle this.?
>>
>>  also in our remote build server when this piece of code is running and we
>> just minimise that remote window then it stuck there and not moving further.
>>
>>
>> Thanks
>>
>> Arihan
>>
>> --
>> Before posting, please read http://watir.com/support. In short: search
>> before you ask, be nice.
>>
>> You received this message because you are subscribed to
>> http://groups.google.com/group/watir-general
>> To post: watir-general@googlegroups.com
>>
>
>  --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com

To unsubscribe, reply using "remove me" as the subject.

Reply via email to