dietpepsi Posted July 15, 2010 Posted July 15, 2010 So I have been doing some of the tutorials and I am doing the notepad tutorial and everything is fine except that the script does not send the alt +n as written in the Send("!n") command to close the save dialog box at the end of the script. This sounds trivial but after 20 minutes or so is still not working. I copy and pasted the exact script here (http://www.autoitscript.com/autoit3/docs/tutorials/notepad/notepad.htm) and its not working. I am running Windows 7 and verified that the example script uses all the correct titles for notepad as on my copy. I have tested some of the other alt commands using the Send function and they work but not inside the close dialog box.
JohnOne Posted July 15, 2010 Posted July 15, 2010 I thing the dialogue boxes have changed over time. Change WinWaitActive("Notepad", "Do you want to save") to WinWaitActive("Notepad", "") AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
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