🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by deadguy3 Fri, 25 Jan 2008 01:21
[Dialog] compact on exit
#215784
Author: deadguy3
Date: Fri, 25 Jan 2008 01:21
2 lines
1117 bytes
is there a way for it to do it automatically?
purging doesnt keep mbytes down.
Re: [Dialog] compact on exit
#215782
Author: 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
Re: [Dialog] compact on exit
#215801
Author: deadguy3
Date: Fri, 25 Jan 2008 18:18
30 lines
2131 bytes
On Fri, 25 Jan 2008 16:09:31 +1100, Rom wrote:

> On Fri, 25 Jan 2008 01:21:55 GMT, deadguy3 wrote:
> 
>> [3 quoted lines suppressed]
> 
> 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

thanks for the script.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads