Thread View: news.software.readers
3 messages
3 total messages
Started by Bertel Lund Hansen
Thu, 07 Jul 2005 22:54
[Dialog] Compact with one click and no backup?
Author: Bertel Lund Hansen
Date: Thu, 07 Jul 2005 22:54
Date: Thu, 07 Jul 2005 22:54
11 lines
1302 bytes
1302 bytes
Hi all Is there a way to compact the database without having to remove the checkmark at "Make a superfluous backup every time"? I can make a script that activates the compact, but that does the same. Can one simulate keypressing in a script (because Alt-K Alt-N would do the trick). -- Bertel, Denmark
Re: [Dialog] Compact with one click and no backup?
Author: MLC
Date: Fri, 08 Jul 2005 08:02
Date: Fri, 08 Jul 2005 08:02
27 lines
2026 bytes
2026 bytes
Il Fri, 8 Jul 2005 00:54:59 +0200, Bertel Lund Hansen ha scritto:
> Hi all
>
> Is there a way to compact the database without having to remove
> the checkmark at "Make a superfluous backup every time"?
>
> I can make a script that activates the compact, but that does the
> same. Can one simulate keypressing in a script (because Alt-K
> Alt-N would do the trick).
Yes, with PostKey. Be aware though that with PostKey you should use
ADoLater instead of ADo for the command in question.
(and the PostKey codes below work for the _English_ localization of Dialog)
So your script becomes:
Program Compact;
Begin
ADoLater('CompactDatabase');
PostKey(75, false, true, false, false, false, false, false, false); //Alt-K
PostKey(78, false, true, false, false, false, false, false, false); //Alt-N
End.
Ciao,
--
Maria L C - 08/07/2005 9.54.47
Re: [Dialog] Compact with one click and no backup?
Author: Bertel Lund Hansen
Date: Fri, 08 Jul 2005 10:47
Date: Fri, 08 Jul 2005 10:47
8 lines
1121 bytes
1121 bytes
MLC skrev: > So your script becomes: Thanks for the help. It works fine. -- Bertel, Denmark
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