Ok, not so much of a challenge, just a quick stumper. Why doesn’t this script work to kill all notepads in one shot? While ProcessClose("notepad.exe") WEnd One might reasonably think it would, since it returns 1 when successful, and 0 when not.  So it should just keep on going until they are all killed. Right? Hint: this does work in one shot... While ProcessExists("notepad.exe") ProcessClose("notepad.exe") WEnd