kc2dqp 0 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.. Share this post Link to post Share on other sites
dandymcgee 0 Posted September 5, 2007 Try this just for giggles: Send("{Alt}n") - Dan [Website] Share this post Link to post Share on other sites
qazwsx 0 Posted September 5, 2007 you could be sending the keys before the window is ready to accept them. Share this post Link to post Share on other sites
kc2dqp 0 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... Share this post Link to post Share on other sites
Paulie 26 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.) Share this post Link to post Share on other sites