[wtr-general] Re: Turning Javascript on and off

2008-12-18 Thread Wilson Xu
Also you can use MouseClick "button" [, x, y [, clicks [, speed ]]] in the AutoITx to resolve your issue, but I think the Richard's method is more better. Wilson Xu On Dec 16, 7:13 am, Paul Denize wrote: > Just to update here is a version of my final routine > > Hope it helps someone else >

[wtr-general] Re: Turning Javascript on and off

2008-12-15 Thread Paul Denize
Just to update here is a version of my final routine Hope it helps someone else Paul -- def JavaScript(zone,on=nil,silent=nil) # if on is nil it returns true iff javascript is enabled (not it could also be off or prompt, both false) # if true it sets it to enabled # if false it s

[wtr-general] Re: Turning Javascript on and off

2008-12-14 Thread Paul Denize
> I'm not sure it's a better option than AutoIT, but you can change that > setting directly in the registry. I just knew someone would have a better idea. Thanks Richard. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

[wtr-general] Re: Turning Javascript on and off

2008-12-14 Thread Richard Lawrence
I'm not sure it's a better option than AutoIT, but you can change that setting directly in the registry (see another recent thread for a discussion of modifying the registry from Ruby). On my machine HKEY_USERS\\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3 has the security