🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by frydd Mon, 15 Jan 2007 16:09
Making XNEWS show the pic of the Face-header [howto]
#194479
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads