🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Reinhard Irmer Sat, 18 Nov 2006 18:54
HotKey in XNEWS
#192701
Author: Reinhard Irmer
Date: Sat, 18 Nov 2006 18:54
16 lines
2744 bytes
hi,

how2 run an exefile in xnews after pushing a keyboardcombination e.g.
Alt+a?

kennt jemand eine M�glichkeit, wie man in XNews den Aufruf einer *.exe
auf eine Tastenkombinatipon legt?

X-Post: 2 groups, Fup'2: de.comm.software.newsreader

-- 
gruss
//reinhard

-+- Hamster-Pg/1.25.x with XNEWS/v?? -+-
Re: HotKey in XNEWS
#192731
Author: Reinhard Irmer
Date: Sun, 19 Nov 2006 12:35
31 lines
3273 bytes
Mike Yetto wrote:

[...]

>> how2 run an exefile in xnews after pushing a keyboardcombination
>> e.g. Alt+a?
>
> AFAIK there is only one hook to an external program and that is
> the "External Editor."

This is not what I want.

[...]

>          Mike "what do you want?" Yetto

I want 2 view the Face-Header-picture (not X-Face!). Therefore I let
Xnews show the Facecode in the Headersection e.g. Face: iVBORTzhu/89...
via copyfunction I put the code into the clipboard. After that I call
the program faceview.exe (Start/faceview-icon) which converts the code
from the clipboard 2 a coloured picture and make it show on desktop
immideatly.

X-Post: 2 groups, Fup'2: news.software.readers

-- 
cu
//reinhard

-+- Hamster-Pg/1.25.x with XNEWS/v?? -+-
Re: HotKey in XNEWS
#192737
Author: 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
Re: HotKey in XNEWS
#192736
Author: Mike Yetto
Date: Sun, 19 Nov 2006 16:35
30 lines
2539 bytes
There I was, minding my own business, when
A. Pigafetta wrote...

> 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
> 

Very good, a second hook to be highjacked.  Nice find.

    	Mike "now I have to think of what to do" Yetto
-- 
"There is danger from all men. The only maxim of a free
government ought to be to trust no man living with power to
endanger the public liberty."
    - John Adams 
Re: HotKey in XNEWS
#192760
Author: Reinhard Irmer
Date: Mon, 20 Nov 2006 09:38
30 lines
2361 bytes
A. Pigafetta schrieb:

> 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

[...]

thnx, it seems this is it, ...............

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

...............but I do not know italian language :-(. I tried 2
translate it with babelfish italian-english-german..... a text desaster
:-(
Is there a possibilitiy 2 translate it in right english oder better in
german?

-- 
greets reinhard
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