Search the Community
Showing results for tags 'collection'.
Found 3 results
;This is the Frame hierarchy I'm dealing with ;I want the last frame on the end with the asterisks ;Frame ; Frameset ; Frame ; Frame ; Frame ; Frameset ; Frameset ; Frame* $oFrame = _IEFrameGetCollection($oIE) $oFrameset = _IEFrameGetCollection($oFrame, 0) $oFrameset2 = _IEFrameGetCollection($oFrameset, 3) $oFrame2 = _IEFrameGetCollection($oFrameset2, 1)I'm after $oFrame2 because that's where the Input tags are that I need to set the values. But when I do an: _IEIsFrameset($oFrameset) _IEIsFrameset($oFrameset2)The first one is true and the second one is false. Where would $oFrameset2 be? What's the proper way to get to $oFrame2?
An IE link collection $oLinks is being looped by a $oLink with a for-in loop. An if statement is used such that when the $oLink.href matches a string reg. exp., it will do a set of statements. The set of statements is this: $a = 1 do $matchpic = StringRegExp($oLink + $a.href, '(http://t2.imgchili.com/)(\d+)(\/)(\d+)(_)') $a += 1 until $matchpic = 1 But the error is that $a is not an object variable. After a match has been found, this $oLink is _paused_ at the current position inside this collection (I believe). How do I loop at the current $oLink?