🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #259697

Re: [Dialog] Script check

#259697
From: Jim S
Date: Fri, 06 Nov 2015 10:51
30 lines
1999 bytes
On Thu, 5 Nov 2015 22:27:43 -0600, Sqwertz wrote:

> On Thu, 5 Nov 2015 20:59:45 +0000, Jim S wrote:
> 
>> I thought this would send me a sound when someone replied to a post, but
>> it's not working. 
>> Can someone tell me what I did wrong.
>> 
>> function PlaySound( Filename: PChar; Options: LongWord ): Boolean;
>> external '***@winmm.dll stdcall';
>> 
>> procedure OnXover(Var XoverData:TXoverData);
>> begin
>> if pos('@jimXscott.co.uk',xoverdata.references)>0 then
>> PlaySound('c:\windows\media\notify.wav', 1 );
>> end;
>> 
>> begin
>> end.
> 
> What is "***"?  I see somebody posted that script 12 years ago, but
> that just doesn't look right.  Maybe try 'sndPlaySoundA' instead of 
> '***'?  That's what all the examples I see use.
> 
> -sw

Thanks that did it.
If you reply now I should get a sound, since you are not me :-)
-- 
Jim S
Technical Details
Message-ID: <tmlo11mdgat1$.dlg@jimXscott.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.(126883).mbox.7z!not-for-mail
References: <uozbanidqg7h.dlg@jimXscott.co.uk> <6bimlyt85m8c.dlg@sqwertz.com>

Show Full Headers
Complete Article Headers
Message-ID: <tmlo11mdgat1$.dlg@jimXscott.co.uk>
Subject: Re: [Dialog] Script check
Date: Fri, 6 Nov 2015 10:51:28 +0000
From: Jim S <jim@jimXscott.co.uk>
References: <uozbanidqg7h.dlg@jimXscott.co.uk> <6bimlyt85m8c.dlg@sqwertz.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.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.15.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Face: 6?%9&O$Ef&~f7s}qiMjb18=&)9a}$:4ew_:i]WBa@mRH`'@/o:a%fN7*zR?=eniL[:"ISp# +H|<2fJ-bj?iPuy0;!oXjv,A&y5hs'QrwbWsUXdo3%Fyhz?o`*G>XV8jJrVtvH6v_9&CK[)\loOez@ g4o0'h
Lines: 30
NNTP-Posting-Host: 82.33.153.49
X-Complaints-To: http://netreport.virginmedia.com
X-Trace: 1446807076 82.33.153.49 (Fri, 06 Nov 2015 10:51:16 UTC)
NNTP-Posting-Date: Fri, 06 Nov 2015 10:51:16 UTC
Organization: virginmedia.com
X-Received-Body-CRC: 2071692219
X-Received-Bytes: 1939