🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #158226

Re: [Xnews] Always open the same servers

#158226
From: DC
Date: Fri, 12 Nov 2004 19:50
27 lines
2207 bytes
Ralf Hasse wrote:
> DC (dcmoose@myrealbox.com) wrote:

>> Maybe have a startup script to do a search and replace on that
>> block of text?  I don't know how to do it, specifically, but it
>> might be something you can explore.  Maybe drop in on comp.editors
>> and see what they can suggest.

>> Post results if you get any.

> I just realized it with AutoIt (www.autoitscript.com) and it was easier 
> as I thought. Here's the script I launch hourly:

>| IniWrite ( "D:\Tools2\Xnews\Xnews.ini", "Opened", "1", "S:Server 1" )
>| IniWrite ( "D:\Tools2\Xnews\Xnews.ini", "Opened", "2", "S:Server 2" )
>| IniDelete ( "D:\Tools2\Xnews\Xnews.ini", "Opened", "3" )
>| IniDelete ( "D:\Tools2\Xnews\Xnews.ini", "Opened", "4" )
>| IniWrite ( "D:\Tools2\Xnews\Xnews.ini", "Opened", "Count", "2" )

Cool.  Does it overwrite or append?  I'll assume the former, since you
seem to indicate that it's working.

-- 
DC            Linux RU #1000111011000111001

Luck is when preparation meets opportunity.
  -- Neil Peart
Technical Details
Message-ID: <slrncpa4vd.eg6.dcmoose@moosemeat.ca.INVALID>
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!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!not-for-mail
References: <Xns959E50BF28A15m7oy9x@dataport.de> <slrncp7q55.9l7.dcmoose@moosemeat.ca.INVALID> <Xns959FCCC4D4AD3m7oy9x@ID-10649.user.dfncis.de>

Show Full Headers
Complete Article Headers
Message-ID: <slrncpa4vd.eg6.dcmoose@moosemeat.ca.INVALID>
Subject: Re: [Xnews] Always open the same servers
Date: Fri, 12 Nov 2004 19:50:06 +0000
From: DC <dcmoose@myrealbox.com>
References: <Xns959E50BF28A15m7oy9x@dataport.de> <slrncp7q55.9l7.dcmoose@moosemeat.ca.INVALID> <Xns959FCCC4D4AD3m7oy9x@ID-10649.user.dfncis.de>
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!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.readers
Organization: http://dcicons.fateback.com
Lines: 27
X-Trace: news.uni-berlin.de Nio48vAZd/8cUVvUvfGQBAPvCfKnxeQKzRQ1Wcg4oLwWniqUHp
X-Operating-System: Mandrake Linux 10.0 (Kernel 2.6.3-7mdk)
X-Face: 6k$Xf_V^i#2X;
 X~[=Ra6mGRtOw!^s%HmaNj1y5a>YCL"vEl.Jjbkww,E~kI&f[*w{j:$V6a2:LKbWg@+qt)3x"fqU\H_Fy5tk8h[Iq/XW~okpDvCa\E~!fb]{H4j@CxE<vL?4q9cxiK5;
 ZdpI@,Bk)(\e67mAw; L}WCZ/NYSX|R6Jj{omL6KT/$
User-Agent: slrn/0.9.8.1 (Linux)