View Single Post
Old 28th February 2011, 11:23   #183
angelblaze
Junior Member
 
Join Date: Feb 2011
Posts: 2
Auto Terminate Patch

Below is a tiny patch to add auto close/kill without user having to click next/install.

Add new parameter /autoterm to LockedList::Dialog

Only tested for the following invocation
LockedList::Dialog /autoterm /autonext /autoclosesilent "" ""

probably not best way to do it but it seems to work :-)

code:

Index: LockedList.cpp
===================================================================
--- LockedList.cpp (revision 2134)
+++ LockedList.cpp (working copy)
@@ -1598,6 +1598,11 @@
{
g_fAutoNext = TRUE;
}
+ // Automatically start to Auto close/kill
+ else if (lstrcmpi(pszParam, TEXT("/autoterm")) == 0)
+ {
+ g_fAutoClosing = TRUE;
+ }
// Add new ignore button.
else if (lstrcmpi(pszParam, TEXT("/ignorebtn")) == 0)
{

angelblaze is offline   Reply With Quote