🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #130129

Re: [Dialog] Sound script

#130129
From: Kjerstin Solbakken
Date: Sun, 03 Aug 2003 22:47
30 lines
1905 bytes
On Sun, 3 Aug 2003 00:37:26 +0100, Wrinklie One wrote:

> program OnXover;
> 
> function PlaySound( Filename: PChar; Options: LongWord ): Boolean;
>          external 'sndPlaySoundA@winmm.dll stdcall';
> 
> procedure OnXover(Var XoverData:TXoverData);
> begin
> if pos('@jim-howarth.org.uk',xoverdata.references)>0 then
>  PlaySound( 'e:\windows\media\gotmail.wav', 1 );
> end;
> 
> begin
> end.
> 
> Just change the filename in *Playsound*

I installes this script, and it works in a way... But instead of the file I
put in the *Playsound* I get a little *ding*...

What did I do wrong?


-- 
ks  -  Autorisert F�rstebanker�

Jaja. S� var det fram med pistolen igjen, da.
http://home.ringnett.no/kjerstin/kjerstinpistol.htm
Technical Details
Message-ID: <1w8z8641v9w2s.dlg@utepils.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!news.equant.no!news.ringnett.no!not-for-mail
References: <1qfb0qu5n6gjz.dlg@utepils.com> <kwrwq8yuvr7g.dlg@jim-howarth.org.uk>

Show Full Headers
Complete Article Headers
Message-ID: <1w8z8641v9w2s.dlg@utepils.com>
Subject: Re: [Dialog] Sound script
Date: Mon, 4 Aug 2003 00:47:22 +0200
From: Kjerstin Solbakken <aliz@utepils.com>
References: <1qfb0qu5n6gjz.dlg@utepils.com> <kwrwq8yuvr7g.dlg@jim-howarth.org.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!news.equant.no!news.ringnett.no!not-for-mail
Newsgroups: news.software.readers
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Organization: De Hvite Engler
X-face: #kI;&PO`s]?I|y_Kse>1Jt\he&!U%'H.l=Th3_?C_&kwy&6osxfa/gI^q!u2mWzlaG$o>_W RaNwMI]/?4]bzTiFqZe1
User-Agent: 40tude_Dialog/2.0.5.1
NNTP-Posting-Host: 217.31.110.48
X-Trace: news.ringnett.no 1059950815 217.31.110.48 (4 Aug 2003 00:46:55 +0200)
Lines: 29