Article View: news.software.readers
Article #259693Re: [Dialog] Script check
From: Jim S
Date: Fri, 06 Nov 2015 10:26
Date: Fri, 06 Nov 2015 10:26
31 lines
2044 bytes
2044 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
Oops. I don't know how that got there. Thanks.
If it works now I'll try the one that 'sounds' for replies but not my own
posts.
--
Jim S
Technical Details
Message-ID:
<8r9ll4ks9rag$.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-mailReferences:
<uozbanidqg7h.dlg@jimXscott.co.uk> <6bimlyt85m8c.dlg@sqwertz.com>Show Full Headers
Complete Article Headers
Message-ID: <8r9ll4ks9rag$.dlg@jimXscott.co.uk> Subject: Re: [Dialog] Script check Date: Fri, 6 Nov 2015 10:26:36 +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: 31 NNTP-Posting-Host: 82.33.153.49 X-Complaints-To: http://netreport.virginmedia.com X-Trace: 1446805584 82.33.153.49 (Fri, 06 Nov 2015 10:26:24 UTC) NNTP-Posting-Date: Fri, 06 Nov 2015 10:26:24 UTC Organization: virginmedia.com X-Received-Body-CRC: 2592507921 X-Received-Bytes: 1921