NsProcess plugin: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Reverted edits by 188.143.232.12 to last version by 127.0.0.1)
Line 12: Line 12:
[http://forums.winamp.com/showthread.php?s=&threadid=230998 Forum thread]
[http://forums.winamp.com/showthread.php?s=&threadid=230998 Forum thread]


A little rationality lifts the quality of the debate here. Thanks for cotnibruting!
== Description ==
'''Features:'''
*Find a process by name
*Kill all processes with specified name (not only one)
*Close all processes with specified name (first tries to close all process windows, waits for 3 seconds for process to exit, terminates if still alive, use _CloseProcess function)
*The process name is case-insensitive
*Win95/98/ME/NT/2000/XP/Win7 support
*Finds processes of other user(s) when running 'as Administrator' or when having switched to another user
*Small plugin size (4 Kb)
*NSIS UNICODE support (just rename nsProcessW.dll into nsProcess.dll)


== Thanks ==
== Thanks ==

Revision as of 20:30, 15 May 2013

Author: Instructor (talk, contrib)


Links

Download v1.5:
nsProcess.zip (14 KB)

Download v1.6 (NSIS UNICODE support, by brainsucker):
nsProcess_1_6.7z

Discussion:
Forum thread

Description

Features:

  • Find a process by name
  • Kill all processes with specified name (not only one)
  • Close all processes with specified name (first tries to close all process windows, waits for 3 seconds for process to exit, terminates if still alive, use _CloseProcess function)
  • The process name is case-insensitive
  • Win95/98/ME/NT/2000/XP/Win7 support
  • Finds processes of other user(s) when running 'as Administrator' or when having switched to another user
  • Small plugin size (4 Kb)
  • NSIS UNICODE support (just rename nsProcessW.dll into nsProcess.dll)

Thanks

Ravi Kochhar (source function FIND_PROC_BY_NAME based upon his code)
iceman_k (Find_Process_By_Name) and DITMan (KillProcDLL_Manual) for direct me