🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Alan LeHun Mon, 19 Jan 2004 23:46
[Dialog] Script function to return group name.
#141629
Author: Alan LeHun
Date: Mon, 19 Jan 2004 23:46
16 lines
1666 bytes
I'm trying to work out how to get the name of the currently read group 
when following-up a post that is cross-posted. (Inside 
OnBeforeSendingMessage).

IOW, if I follow up an article in news.software.readers that is cross-
posted to say alt.usenet.offline-reader (without FU's set) then I need 
my script to know that news.software.readers is the current group.

I would assume that this would be in a variable somewhere but 
documentation is hard to find.

Anyone got any ideas?

-- 
Alan LeHun
Re: [Dialog] Script function to return group name.
#141809
Author: matija
Date: Wed, 21 Jan 2004 23:45
19 lines
2174 bytes
Alan LeHun, completely geschtonkenflapped, wrote:
> I'm trying to work out how to get the name of the currently read group 
> when following-up a post that is cross-posted. (Inside 
> OnBeforeSendingMessage).

     it's possible, but it requires some work. you need a script
     that will send some keys to dialog (look at the script that
     gets the parrent of the current message, i think it's on wiki;
     it has clipboard and postkey functions in it).
     
     anyway, you need this: "p", "tab", "ctrl+c", "alt+f4", "tab",
     "tab", "enter". then you have the current group name in the
     clipboard :)


-- 
there is a cheer. the gnomes have learned a new way to say hooray.   [-shpongle]

address is scrambled - remove the superfluous "x" marks to reply
Re: [Dialog] Script function to return group name.
#141810
Author: matija
Date: Wed, 21 Jan 2004 23:50
19 lines
2166 bytes
matija, completely geschtonkenflapped, wrote:
> Alan LeHun, completely geschtonkenflapped, wrote:
>> I'm trying to work out how to get the name of the currently read group 
>> when following-up a post that is cross-posted. (Inside 
>> OnBeforeSendingMessage).
> 
>      it's possible, but it requires some work. [snip]

     i'm an idiot, sorry - i managed to overlook the "inside" part.

     still, you can run such a script before replying and then
     use the contents of the clipboard inside onbeforesendingmessage.
     otherwise it's impossible.


-- 
there is a cheer. the gnomes have learned a new way to say hooray.   [-shpongle]

address is scrambled - remove the superfluous "x" marks to reply
Re: [Dialog] Script function to return group name.
#141934
Author: Alan LeHun
Date: Fri, 23 Jan 2004 01:12
17 lines
1611 bytes
In article <3i2zy4cn8w0l$.dlg@shpongle.604>, xmkrnicx@xpublicx.xsrcex.hr 
says...
>      i'm an idiot, sorry - i managed to overlook the "inside" part.
> 
>      still, you can run such a script before replying and then
>      use the contents of the clipboard inside onbeforesendingmessage.
>      otherwise it's impossible.
> 
> 

OK. I'll give it a miss, for now. I've only just started mucking about 
with it and Pascal is not my language of choice. 

Thanks.

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