Jump to content

Recommended Posts

Posted

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?

 

 

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...