🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #194479

Making XNEWS show the pic of the Face-header [howto]

#194479
From: frydd
Date: Mon, 15 Jan 2007 16:09
68 lines
3228 bytes
With help from hopflop (news.software.readers) I succeeded in making
XNEWS
show the picture of the Face-header http://quimby.gnus.org/circus/face/
..

Howto follows 4 win98 with my directories:

1.
download Autoit3 http://www.autoitscript.com/autoit2/ and install it.
2.
connect datatype Autoit v3 (AU3) open und RunScript with AutoIt3.exe
Start/Prefs/options/types e.g.
"C:\Programs\AutoIt3\AutoIt3.exe" "%1"
hint: the automatic installation connects the datatype with the
scripteditor, which
does not work. Adjust it manually!!
3.
put the following files into the xnews-dir:
Faceview.exe (look at website http://www.2prinz.de/dialog/face.htm )
Faceview.ini
GDIPLUS.DLL and Face.au3 as follows:


-------face.au3----cut--------
If ProcessExists ( "xnews.exe" ) Then
    WinActivate ( "Xnews" )
    Send ( "r" )             ;view RAW message
    Send ( "^a" )            ;select all
    Send ( "^c" )            ;copy
    sleep(200)
    $Msg = ClipGet()
    Send ( "r" )
    $result = StringInStr ( $Msg, @CR & @LF & "Face:")
    If $result = 0 Then Exit
    $Msg = StringTrimLeft ( $Msg, $result + 7 )
    $Msg = StringReplace ( $Msg, @CR & @LF & " ", "" )
    $result = StringInStr ( $Msg, @CR & @LF )
    $Msg = StringLeft ( $Msg, $result - 1)
    ClipPut($Msg)
    Run( "c:\programs\xnews\faceview.exe" )
    sleep(3500)
    FileDelete ("c:\programs\xnews\Xnewstemp.png")
  EndIf
  Exit
-------------cut-----------------


4.
put the following line in section [misc] of xnews.ini:


DejaPage=file:///c:/programme/hamster_xnews/face.au3


5.
configure the article-pane in Xnews to make the code of the Face-Header
shown.
It is necessary to know, if a facecode is in header or not ;-)


6.
If you see a facecode e.g. Face: iVBOR....., then press Ctrl+D and
you should see the little colored picture in the right upper corner
of your monitor 


enjoy
Technical Details
Message-ID: <1168877361.439362.83520@38g2000cwa.googlegroups.com>
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!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!38g2000cwa.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <1168877361.439362.83520@38g2000cwa.googlegroups.com>
Subject: Making XNEWS show the pic of the Face-header [howto]
Date: Mon, 15 Jan 2007 16:09:21 +0000
From: "frydd" <frydd@spamfence.net>
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!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!38g2000cwa.googlegroups.com!not-for-mail
Newsgroups: news.software.readers
Organization: http://groups.google.com
Lines: 68
NNTP-Posting-Host: 212.34.68.4
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1168877374 13922 127.0.0.1 (15 Jan 2007 16:09:34
 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 15 Jan 2007 16:09:34 +0000 (UTC)
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; IZBSOFT;
 .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.1 n80proxy1:3128 (squid/2.5.STABLE14),
Complaints-To: groups-abuse@google.com
Injection-Info: 38g2000cwa.googlegroups.com; posting-host=212.34.68.4;
 posting-account=wOpPPQwAAADd33QLYh6j1x0wP39GElNh