lzamora Posted December 11, 2009 Posted December 11, 2009 (edited) Hi guys, Im using a _IE commands and the page im working with is build in javascript, so my question is: I have a section im my application that is hide when i select some information above(TxtName.Visible=False) and i know that i can see and work whith it even if it is visible.false. Basicly i need to do a [iF] that my response shoul be if the field is visible or not. Which parameter or code should i use in my [iF] to get the hide field. I hope you guys understand my issue. And how can i do that? Thanks 4 all! Edited December 11, 2009 by lzamora
Authenticity Posted December 11, 2009 Posted December 11, 2009 So this field is an INPUT control in a FORM? Maybe something like: #include <IE.au3> ; ... ; .. Local $oTxtName = _IEFormGetObjByName($oIE, "TxtName") If @error = 0 Then If _IEPropertyGet($oTxtName, "visible") Then ; Visible Else ; Invisible EndIf Else ; Object not found EndIf
lzamora Posted December 14, 2009 Author Posted December 14, 2009 Thanks Mass spammer.I´ll try this, i think it´s going to fitt well!Another questiont if you mind..How can i clean my cache memory because im having troubles if i´m using too much _IEgetobjbyname and some For´s action are not being successfull.Thanks Again!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now