🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #192737

Re: HotKey in XNEWS

#192737
From: A. Pigafetta
Date: Sun, 19 Nov 2006 14:42
50 lines
2735 bytes
Di /domenica, 19 novembre 2006/ (S. Fausto), *Reinhard Irmer* ha scritto:

>>> how2 run an exefile in xnews after pushing a keyboardcombination
>>> e.g. Alt+a?
> 
> I want 2 view the Face-Header-picture

A way is:

  Ctrl+D

and in Xnews.ini put:

  DejaPage=file:///D:/Xnews/face.au3 

`face.au3' is a script made with Autoit3
<http://www.autoitscript.com/autoit3/> similar to:

  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( "D:\Xnews\faceview.exe" )
    sleep(3500)
    FileDelete ("D:\Xnewstemp.png")
  EndIf
  Exit 

+++

If you understand italian:

  <http://groups-beta.google.com/group/it.comp.software.newsreader/tree/browse_frm/thread/e486c4035cf035f6/e2f98ea4e23a7abb?rnum=11>

Bye.

-- 
 /   _ _ | Navigare necesse est, vivere non est necesse  -- Pompeo
( (/( (/ | Concepción, Victoria, Sant'Antonio, Trinidad, Sant Jago
Technical Details
Message-ID: <Xns98809FCEDC1A5lucatinit@ID-176488.user.individual.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!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <Xns987FC9BB1BDEoox1xoo@oox1xoo.my-fqdn.de> <Xns987FDA8BADD41uniquelyme@reader.motzarella.org> <Xns9880828795DDBoox1xoo@oox1xoo.my-fqdn.de>

Show Full Headers
Complete Article Headers
Message-ID: <Xns98809FCEDC1A5lucatinit@ID-176488.user.individual.net>
Subject: Re: HotKey in XNEWS
Date: Sun, 19 Nov 2006 15:42:35 +0100
From: "A. Pigafetta" <alan_ford@despammed.com>
References: <Xns987FC9BB1BDEoox1xoo@oox1xoo.my-fqdn.de> <Xns987FDA8BADD41uniquelyme@reader.motzarella.org> <Xns9880828795DDBoox1xoo@oox1xoo.my-fqdn.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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: n/a
Lines: 50
Reply-To: xnews@libero.it
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 48qUIVhGVgrcqtrCGYxndAS/uWRKZ5uMkRxOnFM1zes/K13Aht
User-Agent: Xnews/2006.08.24 Mime-proxy/2.3-5Y (Win32) Hamster/2.1.0.11
X-face: C-@o;
 oIj}C0/'^U4]ga2^n9UiN[gB002*L*`%mdjl(i{5(p}/a2ZByb#pN,9C:>=88?A7>NP=PI70,nu)`56n|RVBOrT\a~a3'y~>B!'"Az_"wYjPg,jl#b?vpB=C>q{KohX?Jm4N87,=oIQ7\0ZkVjcaG}9T)
X-Lyrics: one two three four - s'cusi dove il bar - got to get on