LudwigIt Posted September 17, 2018 Share Posted September 17, 2018 Hi ;D If you have a min free, mabye you can answer my question. How can I write a code that make a simple query on a button or a text field ( if text == save {succes} else { error} ) for example when you run "Notepad" then you have a query like this: ( is there a Button with the Name "format" then true if not error) Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted September 17, 2018 Share Posted September 17, 2018 Hi @LudwigIt Maybe ControlGetText()? LudwigIt 1 Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
LudwigIt Posted September 17, 2018 Author Share Posted September 17, 2018 good Point, but unfortunately we dont get the Control id for Notepad and other windows applications, we can only work with the x and y coordinates to use elements like "Format" Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted September 17, 2018 Share Posted September 17, 2018 @LudwigIt It depends from what is your goal. Maybe doing an example could help us to help you LudwigIt 1 Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
Earthshine Posted September 17, 2018 Share Posted September 17, 2018 (edited) are you talking about Windows 10 notepad? You cannot use standard AutoIt control commands, just send AFAIK. You need a much more challenging approach to automate many Win10 apps Edited September 17, 2018 by Earthshine LudwigIt 1 My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
Earthshine Posted September 18, 2018 Share Posted September 18, 2018 (edited) Have a look at FAQ: 31 automation stuff it's more challenging, but it can work Edited September 18, 2018 by Earthshine My resources are limited. You must ask the right questions 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