luzif3r Posted June 12, 2008 Share Posted June 12, 2008 (edited) well i hope the almighty dale is here and can quickly give me an example which checks if a frame is hidden or not(the frame also contains a picture, if that helps). i tried to figure it out for about an hour now but i seem to fail on an epic scale. the name of the frame is "pframe". i might figure it out by myself eventually over the next weeks but im short on time and help is appreciated. Edited June 12, 2008 by luzif3r Link to comment Share on other sites More sharing options...
PsaltyDS Posted June 12, 2008 Share Posted June 12, 2008 well i hope the almighty dale is here and can quickly give me an example which checks if a frame is hidden or not(the frame also contains a picture, if that helps). i tried to figure it out for about an hour now but i seem to fail on an epic scale. the name of the frame is "pframe". i might figure it out by myself eventually over the next weeks but im short on time and help is appreciated.$oFrame = _IEFrameGetObjByName($oIE, "pframe")$iFrameVis = _IEPropertyGet($oFrame, "visible")MsgBox(64, "Results", "Frame visible = " & $iFrameVis)...if you might see by a lesser light. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
luzif3r Posted June 13, 2008 Author Share Posted June 13, 2008 (edited) --> IE.au3 V2.4-0 Error from function _IEPropertyGet, $_IEStatus_InvalidObjectType :/ $o = _IEFrameGetObjByName($ie, "pframe") $s = _IEPropertyGet($o, "visible") ConsoleWrite($s & @LF) edit: and thanks of course for the advise PsaltyDS. i take it from everyone that can help me. i just know that he solved alot of IE related problems. edit2: the IE is properly attached. i checked that. if it helps, its an IFRAME. edit3: nevermind i found another solution. Edited June 13, 2008 by luzif3r Link to comment Share on other sites More sharing options...
PsaltyDS Posted June 13, 2008 Share Posted June 13, 2008 --> IE.au3 V2.4-0 Error from function _IEPropertyGet, $_IEStatus_InvalidObjectType :/ $o = _IEFrameGetObjByName($ie, "pframe") $s = _IEPropertyGet($o, "visible") ConsoleWrite($s & @LF) edit: and thanks of course for the advise PsaltyDS. i take it from everyone that can help me. i just know that he solved alot of IE related problems. edit2: the IE is properly attached. i checked that. if it helps, its an IFRAME. edit3: nevermind i found another solution. What was the other solution? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
luzif3r Posted June 14, 2008 Author Share Posted June 14, 2008 i rather checked for the hidden image in the frame. Local $progbar = _IEGetObjByName($ie, "progbar") If $progbar.style.display = "none" Then $done = 1 EndIf the styles i found in the html code were "none" and "block". i loop thru and check every second until the picture is gone again/the style is "none" again. then it is done. Link to comment Share on other sites More sharing options...
PsaltyDS Posted June 16, 2008 Share Posted June 16, 2008 i rather checked for the hidden image in the frame. Local $progbar = _IEGetObjByName($ie, "progbar") If $progbar.style.display = "none" Then $done = 1 EndIf the styles i found in the html code were "none" and "block". i loop thru and check every second until the picture is gone again/the style is "none" again. then it is done. Thanks for posting your resolution. It's important for others who mind find this topic on a search to also find what worked (or didn't). Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
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