StevePhillips Posted June 17, 2019 Share Posted June 17, 2019 I've installed the application from the distro on a Windows 10 x64 box. When I run the "Hello World" example, all is well, #include <MsgBoxConstants.au3> MsgBox($MB_OK, "Tutorial", "Hello World!") But when I run the NotePad.exe example, my cpu goes to 100%. Run("notepad.exe") WinWaitActive("Untitled - Notepad") Send("This is some text.") WinClose("Untitled - Notepad") WinWaitActive("Notepad", "Save") Send("!n") Task Manager shows that thousands of NotePad.exe instances are running (each one starts the next). Process Watcher confirms this. The only way to stop the runaway chain is to restart my computer. Has anyone else experienced this? Is there something wrong with the tutorial code, or did I miss something? Link to comment Share on other sites More sharing options...
StevePhillips Posted June 17, 2019 Author Share Posted June 17, 2019 Nevermind ... My script was named Notepad.au, and was calling itself recursively. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted June 18, 2019 Moderators Share Posted June 18, 2019 Moved to the appropriate forum. Moderation Team "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! 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