Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ShutDownProcess
#4
Try this:

ShutDownProcess("NOTEPAD" 16)

---------------

Also, when you run this macro, what number is displayed in qm output?

Macro
Code:
Copy      Help
GetWindowThreadProcessId(win("Notepad") &_i)
if(!WTSTerminateProcess(0 _i 0)) out GetLastError


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)