Jump to content

FF.au3 get input value


symadis
 Share

Recommended Posts

Hi all,

I want to get the value of an input wit FF.au3

I have this in the source of my page:

<input id="trackingNumber" class="display" style="text-align: center" size="36" readonly="readonly" tabindex="-1" value="ASWF12352SDSHJYY"/>

i know this shows the title, i think i need to do the same, but i'm missing the other argument to get an input value:

_FFCmd( ".title")

I know it should be easy , I have read the documentation and think I should use _FFCmd but I don't know how to handle it.

Can someone help me?

Many thanks

Link to comment
Share on other sites

Hi all,

I want to get the value of an input wit FF.au3

I have this in the source of my page:

<input id="trackingNumber" class="display" style="text-align: center" size="36" readonly="readonly" tabindex="-1" value="ASWF12352SDSHJYY"/>

i know this shows the title, i think i need to do the same, but i'm missing the other argument to get an input value:

_FFCmd( ".title")

I know it should be easy , I have read the documentation and think I should use _FFCmd but I don't know how to handle it.

Can someone help me?

Many thanks

Just try this:

_FFGetValue("trackingNumber", "id")

_FFCmd is for direkt access via Javascript.

Link to comment
Share on other sites

Just try this:

_FFGetValue("trackingNumber", "id")

_FFCmd is for direkt access via Javascript.

Wow many thanks Stilgar! That was the only option i didn't find a link or syntax to use it in documentation, but it was not so difficult.

Thanks again for your time!

Loris

Link to comment
Share on other sites

  • 4 weeks later...

And if I want to get value of this span if it exist in the source:

.......
<span id="errors" class="errorHeader">Last name contains invalid characters.<br/>Telephone Number contains invalid characters.<br/>Passport Number contains invalid characters.</span>
 ......

What do I must use? _FFXPath, _FFGetValue or _FFReadHTML ?

can I search for a span by id with _FFReadHTML?

Thanks,

Loris

Link to comment
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
 Share

  • Recently Browsing   0 members

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