Sign in to follow this  
Followers 0
speedy69

control get text

4 posts in this topic

#1 ·  Posted (edited)

Hi,

As you can see in the screenshot, I have with 2 tools selected a control I would like to fetch the text from.

I tried everything, but I can't get it.7

I used for example this, but no luck:

$tekst = ControlGetText("TeamViewer","","[iD:20098]")

MsgBox(1,"","",$tekst);

I hope you can help?

Thanks

See picture: https://docs.google.com/leaf?id=0B3gCmOFf_gjJYmVkOWMyZjgtYjYxNi00Y2I2LWI4NDgtMzJjOTVkMDg1NjQ2&hl=en_US&authkey=CMX4kc0E

Edited by speedy69

Share this post


Link to post
Share on other sites



your using the syntax wrong. where you have "[iD:20098]" you should have what it says in the advanced mode, in this case "[CLASS:Edit; INSTANCE:2]"


[spoiler]My UDFs: Login UDF[/spoiler]

Share this post


Link to post
Share on other sites

you should have what it says in the advanced mode, in this case "[CLASS:Edit; INSTANCE:2]"

Or just "Edit2"

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

Hi Guys,

Thanks for your reply.

But also with this I don't get an answer:

$tekst = ControlGetText("TeamViewer","","[CLASS:Edit; INSTANCE:2]")

$tekst = ControlGetText("TeamViewer","","[CLASS:Edit]")

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