jueki Posted January 25, 2008 Posted January 25, 2008 (edited) first of all, i'm sorry if my english is not well enough for you to understand, as i'm not from the US.now, here is my question - please take a look at the following picture.is there a way to ignore the "Your API Key is: "? i just want to have the 12345-abcd currently, i use this piece of code to get the text from the object, but it only gets the whole line $result = ControlGetText("API","", "WindowsForms10.EDIT.app.0.378734a1")i hope you can help me with this, thanks in advance for trying edit: oops, can't fix the "reading" typo in the topic title Edited January 25, 2008 by jueki
jueki Posted January 25, 2008 Author Posted January 25, 2008 thanks so much, i got it to work now, exactly what i was looking for! $API = ControlGetText ("API","", "WindowsForms10.EDIT.app.0.378734a1") $result = StringTrimLeft($var, 17) MsgBox(0,"Test",$result)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now