Jump to content

Recommended Posts

Posted (edited)

Hello,



This is my code, I know the _FFCMD is likely wrong. (shown below)

$oTD = _FFXpath("/html/body/form/section[1]/table/tbody/tr[2]/td[7]")
    _FFCmd("FFau3.xpath.innertext='Test'")
    MsgBox("", "", "finish")

Trying to get text into here. (shown below)

<td class="newAudioPlayerSegmentation"> *Text to go here* </td>

I know the xpath is correct as i can use _FFOBj to get the textcontent of what's in there, but how do i manipulate the text?

Thank you
Clery

 

Edited by Clerythecleric
Posted

Your _FFCmd looks ok to me. Any meaningful content showing in the Scite output window?

Hint: Use the console in the Developer Tools (hit F12 to activate) to figure out the correct syntax. You can right click on an element and then select "Use in console". This will give you a variable (likely temp0) that you can use for testing. Once you get it working in the console, then you can implement using _FFXpath / _FFCmd.

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
  • Recently Browsing   0 members

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