AssWipe Posted June 6, 2017 Share Posted June 6, 2017 I have this situation and I don't know how to automate it. The scenario is as follows: A popup window occurs from time to time. Its title is 'XYZ'. Now, there are 2 buttons: "Yes" and "No". "Yes" button is already highlighted. When I press the space button, the popup window goes away. Now I want to be able to send space key via AutoIt. I don't know how to do this. Please help! Thanks. Link to comment Share on other sites More sharing options...
TheDcoder Posted June 6, 2017 Share Posted June 6, 2017 (edited) Send('{SPACE}') Edited June 6, 2017 by TheDcoder Wrong key.. EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
KickStarter15 Posted June 6, 2017 Share Posted June 6, 2017 Hi, What have you tried so far? Programming is "To make it so simple that there are obviously no deficiencies" or "To make it so complicated that there are no obvious deficiencies" by C.A.R. Hoare. Link to comment Share on other sites More sharing options...
AssWipe Posted June 6, 2017 Author Share Posted June 6, 2017 I have no idea. I am a complete noob. I have tried various scripts (available online for similar problems) but none of them worked. I don't know how to program. Link to comment Share on other sites More sharing options...
TheDcoder Posted June 6, 2017 Share Posted June 6, 2017 You might consider learning the basics, they are very easy. There are several tutorials mentioned in the wiki: https://www.autoitscript.com/wiki/Tutorials I personally recommend Morthawt's Tutorials, that is what I followed to learn the basics of AutoIt and Programming EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion 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