krishna8181 Posted February 28, 2019 Share Posted February 28, 2019 Hi there, please can you assist me, i am using auto it for the first time and i am really struggling to get the value of the text from the window. below are the details Request you to assist me and i am not finding any joy with our application. Code: Below is the code that i am trying to use to extract the text "Invalid Account Number Enter" (highlighted in green) i have attached screen shot. i have attached properties window. MouseClick("left",422 , 115) Sleep(500) Local $aPos = MouseGetPos() Local $sText = ControlGetText($aPos, "", "[CLASS:DoddleFrame]") MsgBox(0,"Text", $sText) Link to comment Share on other sites More sharing options...
Skysnake Posted March 9, 2019 Share Posted March 9, 2019 (edited) Hi, and welcome What is that? SAP? or old DOS? There may be different ways to do this. What additional info can you provide? Which control exactly are you trying to hit? The spytool shows a DoddleFrame (window) and a DoddleNode. I am guessing a specific DoddleNode, but that is not what you have in your script. Edited March 9, 2019 by Skysnake Skysnake Why is the snake in the sky? Link to comment Share on other sites More sharing options...
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