Jump to content
Sign in to follow this  

NotePad.exe example in tutorial creates runaway chain of NotePad.exe processes - (Moved)

Recommended Posts

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%.

WinWaitActive("Untitled - Notepad")
Send("This is some text.")
WinClose("Untitled - Notepad")
WinWaitActive("Notepad", "Save")

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?



Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...