Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Lawrence Radiation Laboratory keeps all its data in an old gray trunk.


devel / comp.lang.xharbour / MEMOEDIT AUTOSAVE

SubjectAuthor
* MEMOEDIT AUTOSAVEMarco Boschi
`- Re: MEMOEDIT AUTOSAVEMarco Boschi

1
MEMOEDIT AUTOSAVE

<8a0894fd-4ae6-44f7-9e79-3d6bba503c6an@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=18649&group=comp.lang.xharbour#18649

  copy link   Newsgroups: comp.lang.xharbour
X-Forwarded-Encrypted: i=1; AJvYcCWT3uH+hLmDFfGkl1FxAYWVt46c3j2UFrcNZhbH1NS1HAagpbkrnk/QZ6DsrGpPT1eQ0154PXJ8iPs2ibJWki8RiX1HRmaFq1aPvt5SYWTJk5gzWZQ=
X-Received: by 2002:a05:6214:1c4c:b0:68f:b12d:5c1 with SMTP id if12-20020a0562141c4c00b0068fb12d05c1mr14621qvb.2.1708516220991;
Wed, 21 Feb 2024 03:50:20 -0800 (PST)
X-Forwarded-Encrypted: i=1; AJvYcCXkERs/pUYykQzsG4+kf0PaxCSntAxZ5tl84RvN/LyZxjoHJcU2nkBi9C+Y0rybRQ76Mof6wZSRWUr6+AUMRE+nfB2RObfyd1G3T12mN37qdODn9As=
X-Received: by 2002:a05:6830:314c:b0:6e4:6d01:7315 with SMTP id
c12-20020a056830314c00b006e46d017315mr3013ots.1.1708516220768; Wed, 21 Feb
2024 03:50:20 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Wed, 21 Feb 2024 03:50:20 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=185.55.90.130; posting-account=_oyAawkAAAAkDmcMkD9UQrwxJqiaol5l
NNTP-Posting-Host: 185.55.90.130
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8a0894fd-4ae6-44f7-9e79-3d6bba503c6an@googlegroups.com>
Subject: MEMOEDIT AUTOSAVE
From: info@marcoboschi.it (Marco Boschi)
Injection-Date: Wed, 21 Feb 2024 11:50:20 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 4
 by: Marco Boschi - Wed, 21 Feb 2024 11:50 UTC

Hi, I hope you can read this my question.
Is it possible with some tricks to activate a kind of autosave?
For example every 60 seconds It saves in a TXT file the content of variable I'm editing? It happened that a program froze and the only way to close it was to close the cmd window.
Many thanks
Marco

Re: MEMOEDIT AUTOSAVE

<f5c7c70a-6403-4387-8a25-0cdcc7d7537en@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=18650&group=comp.lang.xharbour#18650

  copy link   Newsgroups: comp.lang.xharbour
X-Forwarded-Encrypted: i=1; AJvYcCXLfsN3KYEhDVd2bC2ha2/Dcl2zMLqbn6ZyZqEguwDZA8ADYC5ATsR8KjHUnISaHWCFNTwpuxrniDcotvGezz9p4m7Vd21GLT3Y5dGhJLtjUvKwI4gyQJM=
X-Received: by 2002:ac8:7d04:0:b0:42d:c867:b5a1 with SMTP id g4-20020ac87d04000000b0042dc867b5a1mr563604qtb.9.1708521047389;
Wed, 21 Feb 2024 05:10:47 -0800 (PST)
X-Forwarded-Encrypted: i=1; AJvYcCUY7zNszWPDXdv9DdFGoZjevvDlF8mSVNGG4kzQmvNR5q/7MyYAva3gW4RIgKBB4tQp8F4f9If3BzJSO+HXizGDdD65OySB/86Na4G6pDknjcYc56Q=
X-Received: by 2002:a4a:e6cc:0:b0:5a0:1436:4573 with SMTP id
v12-20020a4ae6cc000000b005a014364573mr43166oot.0.1708521047164; Wed, 21 Feb
2024 05:10:47 -0800 (PST)
Path: i2pn2.org!i2pn.org!news.chmurka.net!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Wed, 21 Feb 2024 05:10:46 -0800 (PST)
In-Reply-To: <8a0894fd-4ae6-44f7-9e79-3d6bba503c6an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=185.55.90.130; posting-account=_oyAawkAAAAkDmcMkD9UQrwxJqiaol5l
NNTP-Posting-Host: 185.55.90.130
References: <8a0894fd-4ae6-44f7-9e79-3d6bba503c6an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f5c7c70a-6403-4387-8a25-0cdcc7d7537en@googlegroups.com>
Subject: Re: MEMOEDIT AUTOSAVE
From: info@marcoboschi.it (Marco Boschi)
Injection-Date: Wed, 21 Feb 2024 13:10:47 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Marco Boschi - Wed, 21 Feb 2024 13:10 UTC

Il giorno mercoledì 21 febbraio 2024 alle 12:50:23 UTC+1 Marco Boschi ha scritto:
> Hi, I hope you can read this my question.
> Is it possible with some tricks to activate a kind of autosave?
> For example every 60 seconds It saves in a TXT file the content of variable I'm editing? It happened that a program froze and the only way to close it was to close the cmd window.
> Many thanks
> Marco

I've found memoedit.prg in my HD and I made a few small changes that are right for me,
where can I found memoedit.prg of (Build 20161123)?

in
METHOD Edit() CLASS TMemoEditor

I add this little code

if nNextKey == 0
nKey := Inkey( 60 ) // instead of Inkey(0)
else
nKey := nNextKey
nNextKey := 0
endif

also this one a few lines below

IF nKey = 0

@ 23 , 0 SAY nKey
@ 24 , 0 SAY ::GetText()
memowrit( "editazione_" + ute_dos + ".TXT" , ::GetText() , .F. )

ENDIF

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor