Is it possible to control another process’ dialog from code?
I want to answer a simple yes|no dialog, which is opened by another program from my own code.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is possible, as this is what UI testing frameworks like dogtail do. Giving a look at the ATK (Accessibility ToolKit) may give you aditionnal hints. I think this is what dogtail uses. However, the accessibility framework will need to be enabled to use this technique. Here’s the developer’s guide for the ATK.