Jump to content

[Help me!]How to Set value to a textarea use FF.au3 ?


nghich3
 Share

Recommended Posts

I tried all cases , But it's not working .

Any one help me please .

use my login info :

user : deathofangel
pass : 12345678

many thanks

link : http://beat.vn/forum/showthread.php?203841

<div class="editor_textbox quickreply">
<textarea name="message" id="vB_Editor_QR_textarea" rows="10" tabindex="1" cols="80" dir="ltr">sdfsdfsd</textarea>
</div>

#Include <FF.au3>
_FFStart("http://beat.vn/forum/showthread.php?203841")
If _FFIsConnected() Then
    _FFLoadWait()
    $sTextboxComment = _FFObjGet("vB_Editor_QR_textarea", "id") 
    _FFObj($sTextboxComment, "content", "234234234234523taetertwrtrtw ")
    ;________________________
    ;$sTextArea = _FFXpath("//textarea[@name='message']","",9)
    ;MsgBox(64,"", _FFObj("xpath.type") & @crlf & _FFObj("xpath.value") & @crlf & _FFObj("xpath.id"))
    ;_FFObj($sTextArea, "value", "dsagasdgasdfafadfasd")
    ;________________________
    ;$HTML = _FFReadHTML()
    ;$HTML = StringReplace($HTML,'<textarea name="message" id="vB_Editor_QR_textarea" rows="10" tabindex="1" cols="80" dir="ltr"></textarea>','<textarea name="message" id="vB_Editor_QR_textarea" rows="10" tabindex="1" cols="80" dir="ltr">sdfsdfsdfdfsdffsdfsdfsdf</textarea>')
    ;_FFWriteHTML($HTML,"body")
EndIf
Edited by nghich3
Link to comment
Share on other sites

  • 2 weeks later...

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...