Article View: news.software.readers
Article #240521Re: XNews under win 7 again
From: Mike Yetto
Date: Sat, 24 Apr 2010 18:47
Date: Sat, 24 Apr 2010 18:47
55 lines
4005 bytes
4005 bytes
Mark P. Nelson <markpnelson@sbcglobal.net> writes and having writ moves on. > John Wunderlich <jwunderlich@lycos.com> wrote in > news:Xns9D637F91799EDwunderpsdrscray@138.125.254.103: > >> >> I haven't used Windows 7, but what I can tell you is that Xnews saves >> its window position in the "Xnews.ini" file (by default in same >> directory as Xnews). Use a text editor to open this file, Look in the >> "[Metrics]" section, and look for the "main=" line. Mine looks like >> this: >> >> main=0,1,-1,-1,-1,-1,233,121,1597,1161 >> >> The last four numbers represent the position at which Xnews will open >> when it starts. The first two of these four numbers are the X-Y pixel >> coordinates of the upper-left corner of the window and the last two are >> the X-Y pixel coordinates of the lower-right corner. (The 0,0 >> coordinate is in the upper-left corner of your screen). >> > > Thanks for this--it's just what I was looking for and seemed at first to be > the solution. > >> These should be updated whenever you close Xnews. Perhaps you have >> placed Xnews in a place where you don't have write permission to this >> file with your logged-in user. If this is the case, you might have to >> move Xnews to a place where you have write access to its folder or >> alternatively, start Xnews with the "/d:" switch and specify a >> directory where you do have write access. (See the "Hidden Tricks & >> Tips" section of the Manual). >> > > I thought of that so I moved XNews from program files(x86) to users\moi. It > updates all right, so I can see I have write permission. I can set the two > X coordinates to 28 and 1024 and the Window comes up as I want it, but > after I close it they have changed to 0 and 996, and opening it and closing > it again changes them to -28 and 968. > > Who knows. Thanks for trying. > I just remembered the solution I applied to problems with Xnews (this was with W2k) changing between runs. I needed to perform the same edits against xnews.ini each time the fix was needed, so I created a script to run AutoIt to apply the edits and then start Xnews. AutoIt can be found at <http://www.autoitscript.com/> and may work with Win 7 to patch the misbehaving line with each invocation. Mike "as elegant as it needs to be" Yetto -- In theory, theory and practice are the same. In practice they are not.
Technical Details
Message-ID:
<slrn20100424144207.678.twooffive@may.eternal-september.org>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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!eternal-september.org!news.eternal-september.org!may.eternal-september.org!.POSTED!not-for-mailReferences:
<Xns9D63636D25BAFmpndisorg@188.40.43.245> <Xns9D637F91799EDwunderpsdrscray@138.125.254.103> <Xns9D638ABA16F5Ampndisorg@188.40.43.245>Show Full Headers
Complete Article Headers
Message-ID: <slrn20100424144207.678.twooffive@may.eternal-september.org>
Subject: Re: XNews under win 7 again
Date: Sat, 24 Apr 2010 14:47:01 -0400
From: Mike Yetto <myetto1@nycap.invalid>
References: <Xns9D63636D25BAFmpndisorg@188.40.43.245> <Xns9D637F91799EDwunderpsdrscray@138.125.254.103> <Xns9D638ABA16F5Ampndisorg@188.40.43.245>
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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!eternal-september.org!news.eternal-september.org!may.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: slrn Mafia / Xnews Tong (emeritus)
Lines: 55
Injection-Date: Sat, 24 Apr 2010 18:47:47 +0000 (UTC)
Injection-Info: may.eternal-september.org;
posting-host="LagJXPyKy0Sy/aUTUT+6gw";
logging-data="3110"; mail-complaints-to="abuse@eternal-september.org";
posting-account="U2FsdGVkX19/Nas4pe7YB79n6VlT5F2YHpC1YkdnSe4="
User-Agent: slrn/pre1.0.0-18/co (Kubuntu 9.10)
X-The-Usenet-Improvement-Project: http://twovoyagers.com/improve-usenet.org/
X-No-Bananas: Yes
X-Face: }3JWz.qUmO(s6)fi^Y)1eP$!$:`/OCi6lO:7>\e0SB{-VT^+J5DWXfTybc>y~aVli{wXD
m/.j\Al('YgA3HNrxK-oL@; 2*[QCBW/p"j'~oe7H~MG'=-W<y-rh8h2TY3\Iq*U\4Z97!Y6f)pxHQ
H,
Cancel-Lock: sha1:B3S+9DlHyKgt6OgoN+g4N8y5gnQ=