🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #215782

Re: [Dialog] compact on exit

#215782
From: Rom
Date: Fri, 25 Jan 2008 05:09
32 lines
1892 bytes
On Fri, 25 Jan 2008 01:21:55 GMT, deadguy3 wrote:

> Subject: [Dialog] compact on exit

> is there a way for it to do it automatically?
> purging doesnt keep mbytes down.

A simple script will bring up the Compact window on exiting, but with
a button/key to push to start the compact or close without compacting.
It's not exactly automatically but it's a step closer.

Settings > Scripting > Scripting... (and Enable scripting)

On the Event scripts tab, select OnShutdown

File menu > New script

Leave the Scripting window open and open Settings > Configure
buttons/shortcuts

Compact database is in the File menu so locate it and position the
windows, then drag the Compact database command and drop it where it
says the code goes, so this is added:

ADo('CompactDatabase');

Script menu > Compile

Script menu > Reload all compiled scripts in Dialog's main window

-- 
Rom
Technical Details
Message-ID: <1w87ho02rsdxg.1v3a5h4wpmq9w$.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <1rlu7o7395gyq.gaoj9gbbasd4$.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <1w87ho02rsdxg.1v3a5h4wpmq9w$.dlg@40tude.net>
Subject: Re: [Dialog] compact on exit
Date: Fri, 25 Jan 2008 16:09:31 +1100
From: Rom <-@-.invalid>
References: <1rlu7o7395gyq.gaoj9gbbasd4$.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 32
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net AY8BkxWD1MUzLPaK5IpzgwCUuOhN0N3CR5W+/lRsZkCIA51Vc9
Cancel-Lock: sha1:LcjhA2tHLMewRBCpxqY+3zJjLrM=
User-Agent: 40tude_Dialog/2.0.15.1
Archive: no
X-No-Archive: yes