Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Dialog] Script function to return group name.

1 view
Skip to first unread message

Alan LeHun

unread,
Jan 19, 2004, 6:46:01 PM1/19/04
to

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

matija

unread,
Jan 21, 2004, 6:45:11 PM1/21/04
to
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

matija

unread,
Jan 21, 2004, 6:50:37 PM1/21/04
to
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.

Alan LeHun

unread,
Jan 22, 2004, 8:12:34 PM1/22/04
to
In article <3i2zy4cn8w0l$.dlg@shpongle.604>, xmkr...@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

0 new messages