Sign in to follow this  
Followers 0
BadCoder

FireFox _FFFrameEnter and _FFCmd_err

6 posts in this topic

#1 ·  Posted

hello im new to autoit and the forum iv been trying to learn by using  example given in the FF.au3 Function Referenz but this reference gives a error . i am using the MozRepl addon . thanks in advance for any help

 

EnterIframeTest.au3

Share this post


Link to post
Share on other sites



#2 ·  Posted

sorry i guess i posted that wrong  the link will just run the script.. so i will post what i have below.

 

#Include <FF.au3>

If _FFConnect() Then
    If _FFOpenURL("http://www.autoit.de") Then
        _FFFrameEnter(2)
        MsgBox(0,"Frame 2 URL", _FFCmd(".location.href") )
        _FFFrameLeave()
        MsgBox(0,"Top URL",_FFCmd(".location.href") )
    EndIf
EndIf

Share this post


Link to post
Share on other sites

#3 ·  Posted

Perhaps it did previously, but that site doesn't appear to be using frames at this time.

Share this post


Link to post
Share on other sites

#4 ·  Posted

thanks for the fast reply you're probably right ,i guess i was looking at the page Html  and figured it was looking for the  part that says framed or something   <p class="framed" title="Thema durch Doppelklick als gelesen markieren">

Share this post


Link to post
Share on other sites

#5 ·  Posted

i have been stumped on this for a few weeks smh..  i tried it on another test site and it seems to work fine, thanks again for the help. new test site in the code below with the hopes it might come in handy for someone else

#Include <FF.au3>

If _FFConnect() Then
    If _FFOpenURL("http://www.verticalbrowser.com/firefoxtest.htm") Then
        _FFFrameEnter(2)
        MsgBox(0,"Frame 2 URL", _FFCmd(".location.href") )
        _FFFrameLeave()
        MsgBox(0,"Top URL",_FFCmd(".location.href") )
    EndIf
EndIf

 

Share this post


Link to post
Share on other sites

#6 ·  Posted

YW. Glad you were able to get a working example.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0