On Saturday, 7 Jun 2003 18:00 [-0400] Peter Kerekes in mid:[EMAIL PROTECTED] wrote:
> Until now I loaded Spampal at startup, (Windows 98), however I don't > think it is necessary. > > Is there a way to load Spampal only automatically when I load BAT, and > close it automatically when I close BAT? You can use external scheduler for this, in example two simple scripts for nncron (http://nncron.ru) - load spampal automatically with thebat! and close only if spampal options window is not opened: ----- #( on_thebat_start WatchProc: "thebat.exe" AsLoggedUser Action: PROC-EXIST: "spampal.exe" 0= IF LoadProfile START-APP: "C:\Program Files\SpamPal\spampal.exe" ELSE THEN )# #( on_thebat_stop WatchProcStop: "thebat.exe" AsLoggedUser Action: PROC-EXIST: "spampal.exe" WIN-EXIST: "SpampalConfigWindowClass" 0= AND IF PROC-CLOSE: spampal.exe ELSE THEN )# ----- Not sure for W98, but on 2K/XP it takes ~500kb in active memory and minimal system resources (~150 handles + ~30 USER/GDI objects) since nncron doesn't have extra heavy-weight gui. -- / mx ________________________________________________ Current version is 1.62r | "Using TBUDL" information: http://www.silverstones.com/thebat/TBUDLInfo.html

