Article View: news.software.readers
Article #163320Re: [Dialog] Script request
From: Korbinian Abenthum
Date: Sun, 27 Feb 2005 12:08
Date: Sun, 27 Feb 2005 12:08
25 lines
2661 bytes
2661 bytes
Ponder wrote:
> Hiya Korbinian Abenthum.
>> OK, have a look at
>> http://www.40tude.com/dialog/wiki/index.php/ScriptReplaceSubstring
> Ok, I'll have a good look at that later and try to integrate it into the
> WinampNowPlaying script I use :-)
I tried to make integration with other scripts as easy as possible.
1) Copy the new script *except* the first line ("program ...") and the last
nine lines ("// Event OnBeforeSending"" ff.) into your existing script
(e.g. directly beneath the existing "program ..." and possibly
"uses ..." lines, or directly above "function OnBeforeSendingMessage"
near the end of the script).
2) Include the call
"ReplaceSubstringsInNewsgroupArticles(Message, Servername, IsEmail);"
at the end of the "function OnBeforeSendingMessage" (right before the
"end;").
You don't have to worry about the result-things I do in my script since
it never fails (not officially at least ;)
HTH
--
"I thought we had made a nobler king." - Eddard Stark
Technical Details
Message-ID:
<cvsgo0.4o.1@news.abenthum.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!meganewsservers.com!feeder2.on.meganewsservers.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mailReferences:
<1dmt2gajcenqq$.dlg@colin-jones.co.uk> <cvnff3.3i8.1@news.abenthum.de> <1cwzvxyq99lgc$.dlg@colin-jones.co.uk> <cvothh.3dk.1@news.abenthum.de> <1uyqktjtkgqr8$.dlg@colin-jones.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <cvsgo0.4o.1@news.abenthum.de>
Subject: Re: [Dialog] Script request
Date: Sun, 27 Feb 2005 13:08:15 +0100
From: Korbinian Abenthum <korbinian@despammed.com>
References: <1dmt2gajcenqq$.dlg@colin-jones.co.uk> <cvnff3.3i8.1@news.abenthum.de> <1cwzvxyq99lgc$.dlg@colin-jones.co.uk> <cvothh.3dk.1@news.abenthum.de> <1uyqktjtkgqr8$.dlg@colin-jones.co.uk>
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!meganewsservers.com!feeder2.on.meganewsservers.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail
Newsgroups: news.software.readers
Supersedes: <cvsg6s.n8.1@news.abenthum.de>
Organization: T-Online
Lines: 25
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.t-online.com 1109506576 00 26007 WMG-rdIrMCYbSLtb 050227 12:16:16
X-Complaints-To: usenet-abuse@t-online.de
X-ID: JOg+GkZCgeYmJZ2DAdgYr5mzPdi9RlqP5lUkP-fDjkTuKereiwi+Z-
User-Agent: 40tude_Dialog/2.0.15.1 Hamster/2.0.6.0
X-Face: &[gF$*:|'M7pwKut]{LOz!&65BT96:Wn\M"V6Qa#q%~9^z8XhJfmh?.)VB{,
p]Z`6q@e()! g1ghrG7.atG.DXfzulkKE%u~|D7?e6^-yN4GvZJuvz%$LZBA6`dJTo,
MYUO%I*0us[.v/AT,
X-Hamster-Info: Score=9999 ScoreLoad=9999 ScoreSave=0 Received=20050227130414
X-Old-Xref: news.t-online.com news.software.readers:170843