kc2dqp Posted September 5, 2007 Posted September 5, 2007 Sorry to ask a newbie question, but I have been racking my brain with this simple notepad script, but no matter what i do, nothing I put in the script will close on it's own. I have the Send("!n") in the script, but when i run the script, it hangs or waits for user input to select "no".... Question is this, in this simple example, I know the answer is under my nose, I just can't find it. Has anyone else had this issue? Tell me what I'm doing wrong or where to look? I've looked in the FAQ and the forums.. Thanks in advance..
dandymcgee Posted September 5, 2007 Posted September 5, 2007 Try this just for giggles: Send("{Alt}n") - Dan [Website]
qazwsx Posted September 5, 2007 Posted September 5, 2007 you could be sending the keys before the window is ready to accept them.
kc2dqp Posted September 6, 2007 Author Posted September 6, 2007 you could be sending the keys before the window is ready to accept them.Okie.. so what is the best way to slow things down? I am trying all these suggestions.. thank you VERY much for the help...
Paulie Posted September 6, 2007 Posted September 6, 2007 Sorry to ask a newbie question, but I have been racking my brain with this simple notepad script, but no matter what i do, nothing I put in the script will close on it's own. I have the Send("!n") in the script, but when i run the script, it hangs or waits for user input to select "no".... Question is this, in this simple example, I know the answer is under my nose, I just can't find it. Has anyone else had this issue? Tell me what I'm doing wrong or where to look? I've looked in the FAQ and the forums..There is/was a problem with the simple notepad automation between XP and Vista.For More info see here:http://www.autoitscript.com/forum/index.php?showtopic=51973(And also see the links in that thread.)
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