🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by James G Wed, 24 Sep 2003 23:05
[Xnews] Creating own buttons
#134059
Author: James G
Date: Wed, 24 Sep 2003 23:05
11 lines
1426 bytes
Looking thru Google people here have described how to create user buttons
for Xnews and to assign command.  Trouble is I can't understand some of the
tech talk posted and the info in changes.txt is a bit too short.

I want to assign regular commands to the user button (like those found in
the keyboard mapping window).

Can someone explain this in simple noobi terms.


Re: [Xnews] Creating own buttons
#134092
Author: James G
Date: Thu, 25 Sep 2003 08:19
27 lines
1894 bytes
"Guy" <Use-Reply-To-Address-Header@[127.1]> wrote in message
news:9400B9B0C69152E284CEEC009E394A9D7@127.0.0.1...
>
> James G wrote:
>
> > Looking thru Google people here have described how to create user
> > buttons for Xnews and to assign command.  Trouble is I can't
> > understand some of the tech talk posted and the info in
> > changes.txt is a bit too short.
> >
>
> Review the Manual for "[ToolBars]" and "[UserButtons]".


That's where I started before I went to changes.txt and Google.  It makes
little sense to me.  :-(

Can someone give an example of how to create a button which runs this when I
press it

OnLoaded=acvRemoveFilter,acvShowGT0Score

Can this be done or does the [toolsbars] section mean that only those
command slisted there can be executed?


Re: [Xnews] Creating own buttons
#134110
Author: Murray Peterson
Date: Thu, 25 Sep 2003 14:46
34 lines
2333 bytes
"James G" <james_g@REMOVETHISTEXTxosl.fsnet.co.uk> wrote in
news:bku8e2$pat$1@news6.svr.pol.co.uk: 

> Can someone give an example of how to create a button which runs this
> when I press it
> 
> OnLoaded=acvRemoveFilter,acvShowGT0Score
> 
> Can this be done or does the [toolsbars] section mean that only those
> command slisted there can be executed?

You can create a button and map it to a single command, NOT a sequence of 
commands.  Also, a toolbar button can't occur at "OnLoaded", since that 
occurs before you can get a chance to poke the button.

Try this (you will need to obtain or create 3 icons):

[UserButtons]
ublack=acvRemoveFilter|d:\bin\xnews\black.ico|View everything
ugrey=acvShowGt_9999Score|d:\bin\xnews\grey.ico|View soft killed
ublue=acvShowGe0Score|d:\bin\xnews\blue.ico|View filtered

[ToolBars]
A1=-,bShowAllHeaders,bFixedFont,bRaw,bWrap,-,bAttach,bFollowUp,-
,bBack,bForw,-
,bRef,bNextQ,bPrevTh,bNextTh,bPrevUnread,bNextUnread,bSkipQuote,-
,ublack,ugrey,ublue
A2=bCatchUp,bStop,bDecode,bRefresh,bArchive,bSend,bEdit,bStorage,bPurge

-- 
Murray Peterson
Email: murray_peterson@shaw.ca (remove underscore)
URL:   http://members.shaw.ca/murraypeterson/
Re: [Xnews] Creating own buttons
#134122
Author: James G
Date: Thu, 25 Sep 2003 19:59
85 lines
3033 bytes
"Murray Peterson" <mwp@home.com.invalid> wrote in message
news:Xns940159477A244farkle@24.71.223.159...
> "James G" <james_g@REMOVETHISTEXTxosl.fsnet.co.uk> wrote in
> news:bku8e2$pat$1@news6.svr.pol.co.uk:
---------  START  --------------

Try this (you will need to obtain or create 3 icons):

[UserButtons]
ublack=acvRemoveFilter|d:\bin\xnews\black.ico|View everything
ugrey=acvShowGt_9999Score|d:\bin\xnews\grey.ico|View soft killed
ublue=acvShowGe0Score|d:\bin\xnews\blue.ico|View filtered

[ToolBars]
A1=-,bShowAllHeaders,bFixedFont,bRaw,bWrap,-,bAttach,bFollowUp,-
,bBack,bForw,-
,bRef,bNextQ,bPrevTh,bNextTh,bPrevUnread,bNextUnread,bSkipQuote,-
,ublack,ugrey,ublue
A2=bCatchUp,bStop,bDecode,bRefresh,bArchive,bSend,bEdit,bStorage,bPurge
---------  END ---------

Your supplied lines work nicely

On inspection if I list the commands you provided and compared them to the
commands in the tool button bar (top of the screen) then they are different.
I have numbered them.

You provided this:

A1=
-,
1. bShowAllHeaders,
2. bFixedFont,
3. bRaw,
4. bWrap,
5. -,
6. bAttach,
7. bFollowUp,
8. -,
9. bBack,
10. bForw,
11. -,
12. bRef,
13. bNextQ,
14. bPrevTh,
15. bNextTh,
16. bPrevUnread,
17. bNextUnread,
18. bSkipQuote,
19. -,
20. ublack,
21. ugrey,
22. ublue

----------

I see these:

1. Show All Headers
2. Use Fixed Font
3. Raw Text
4. Word Wrap
5. -
6. Follow-Up To Newsgroups
7. Go Back
8. Go Forward
9. Get Parent
10. Goto Next In Queue
11. GotoPrev Thread
12. Goto Next Thread
13. PrevUnread
14. Next Unread
15. Skip Quoted Text
16. View Everything
17. View Soft Killed
18. View Filtered

For example (your 6) "bAttach" does not match with the viewed (6) "Follow-Up
To Newsgroups".

Can you explain this please?


Re: [Xnews] Creating own buttons
#134153
Author: Murray Peterson
Date: Fri, 26 Sep 2003 03:54
18 lines
1695 bytes
"James G" <james_g@REMOVETHISTEXTxosl.fsnet.co.uk> wrote in
news:bkvheq$omj$1@news7.svr.pol.co.uk: 

> For example (your 6) "bAttach" does not match with the viewed (6)
> "Follow-Up To Newsgroups".
> 
> Can you explain this please?
> 

The ,-, is merely a spacer in the toolbar, and doesn't match up with any 
command.  Take out those and you will see that everything now matches 
correctly.

-- 
Murray Peterson
Email: murray_peterson@shaw.ca (remove underscore)
URL:   http://members.shaw.ca/murraypeterson/
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