🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #161105

Re: Use XNews in 2 resolutions?

#161105
From: Guy
Date: Wed, 19 Jan 2005 22:12
72 lines
3572 bytes
Marco wrote:

> Would it be possible to let XNews use different config files from
> a batchfile or something? I think its all set in de Metrics part
> of XNews.ini. 
> 
> Anyone suggestions?
> 


FWIW...

:: Example batch file altering Xnews INI Metrics section
:: using Robert L. Bogue's ChangeINI - INI File Changer.
:: <http://dl.winsite.com/files/713/ar2/win3/util/chgini01.zip>
::
@echo off
@cls
@echo.
@echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
@echo º              º
@echo º     Menu     º
@echo º              º
@echo º  1. Desktop  º
@echo º              º
@echo º  2. Laptop   º
@echo º              º
@echo º  3. Quit     º
@echo º              º
@echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
@echo.
@choice /c:123 /n /t:3,30 Option Number:
@if errorlevel == 3 goto end
@if errorlevel == 2 goto laptop
@if errorlevel == 1 goto desktop
:desktop
@changeini xnews.ini metrics main 9,8,7,6,5,4,32,12,34,567
@changeini xnews.ini metrics editor 9,8,7,6,5,4,32,12,34,567
@changeini xnews.ini metrics splitter-1 54321
@changeini xnews.ini metrics Folders 9,8,7,6,5,4,32,12,34,567
@changeini xnews.ini metrics F:outbox 9,8,7,6,5,4,32,12,34,567
@changeini xnews.ini metrics F:sent 9,8,7,6,5,4,32,12,34,567
@changeini xnews.ini metrics F:user 9,8,7,6,5,4,32,12,34,567
@changeini xnews.ini metrics S:Server-1 9,8,7,6,5,4,32,12,34,567
@changeini xnews.ini metrics A:Server-1 9,8,7,6,5,4,32,12,34,567
@changeini xnews.ini metrics S:Server-2 9,8,7,6,5,4,32,12,34,567
@changeini xnews.ini metrics A:Server-2 9,8,7,6,5,4,32,12,34,567
@goto start
:laptop
@changeini xnews.ini metrics main 5,4,3,2,1,1,23,45,67,890
@changeini xnews.ini metrics editor 5,4,3,2,1,1,23,45,67,890
@changeini xnews.ini metrics splitter-1 12345
@changeini xnews.ini metrics Folders 5,4,3,2,1,1,23,45,67,890
@changeini xnews.ini metrics F:outbox 5,4,3,2,1,1,23,45,67,890
@changeini xnews.ini metrics F:sent 5,4,3,2,1,1,23,45,67,890
@changeini xnews.ini metrics F:user 5,4,3,2,1,1,23,45,67,890
@changeini xnews.ini metrics S:Server-1 5,4,3,2,1,1,23,45,67,890
@changeini xnews.ini metrics A:Server-1 5,4,3,2,1,1,23,45,67,890
@changeini xnews.ini metrics S:Server-2 5,4,3,2,1,1,23,45,67,890
@changeini xnews.ini metrics A:Server-2 5,4,3,2,1,1,23,45,67,890
:start
@choice /c:yn /n /t:y,2 >nul
@start xnews
:end
@cls
@exit

Regards,
Guy
-- 
Xnews "XP" Icon Patcher Files
<http://xnews-icon-patchers.bebto.com/patcher.html>
Technical Details
Message-ID: <95E3$A4E85.3721$2E284CEEC009E394A9D7@127.0.0.1>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <Xns95B54D6748A07tmpnlnet@194.134.2.2>

Show Full Headers
Complete Article Headers
Message-ID: <95E3$A4E85.3721$2E284CEEC009E394A9D7@127.0.0.1>
Subject: Re: Use XNews in 2 resolutions?
Date: Wed, 19 Jan 2005 16:12:39 -0600
From: Guy <Use-Reply-To-Address-Header@[127.1]>
References: <Xns95B54D6748A07tmpnlnet@194.134.2.2>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 72
Reply-To: GuysAlias <AT> myrealbox <DOT> com
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: individual.net K05nmQpS3YWJCvU3NCtw+QICMAyOTGFjo0jREyWouK+IQzJz0=
Archive: no
X-No-Archive: yes
X-0: "Whoever would overthrow the liberty of a nation must begin by subduing the freeness of speech." -- Benjamin Franklin
X-Face: ,O=kHpT4ofN[ZQ?pgJ6BQtX(cJvPRNtp'pID9gnUbjs4F3yd0#\GOd'S;U@<[Y6X*V`vh.)v%U'IaXUBq/F9,m,P;HY{n-Q[V0"+>u5W`Zf&[c;34vOB1T~&wE<'yA(Eg7V,W,Sk_gd0JPg1E$,J&X}SN-51Hwg;)hM/Ttq$Um2Kq$u
User-Agent: Xnews/??.01.14[0.1.14.0]