Thread View: news.software.readers
4 messages
4 total messages
Started by Kjerstin Solbakken
Sat, 02 Aug 2003 23:12
[Dialog] Sound script
Author: Kjerstin Solbakken
Date: Sat, 02 Aug 2003 23:12
Date: Sat, 02 Aug 2003 23:12
8 lines
1253 bytes
1253 bytes
I think I saw a posting some time ago that mentioned that there is a script for getting a sound when there are answers to a tread you are participating in. Is that right, and if so, can anyone tell me what it is? -- ks
Re: [Dialog] Sound script
Author: Kjerstin Solbakken
Date: Sun, 03 Aug 2003 22:47
Date: Sun, 03 Aug 2003 22:47
30 lines
1905 bytes
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
Re: [Dialog] Sound script
Author: Kjerstin Solbakken
Date: Mon, 04 Aug 2003 08:41
Date: Mon, 04 Aug 2003 08:41
15 lines
1709 bytes
1709 bytes
On Mon, 4 Aug 2003 08:23:24 +0100, Wrinklie One wrote: > Check to see that the path to your sound file is correct.. > Are you sure you haven't pointed to the M$ media *ding* It was my own stupid mistake that caused the error. It's working allright now! Thanks for your help! :-) -- ks - Autorisert F�rstebanker� Jaja. S� var det fram med pistolen igjen, da. http://home.ringnett.no/kjerstin/kjerstinpistol.htm
Re: [Dialog] Sound script
Author: Mike Atkinson {reply address in ...
Date: Fri, 15 Aug 2003 17:18
Date: Fri, 15 Aug 2003 17:18
29 lines
2280 bytes
2280 bytes
On Sun, 3 Aug 2003 00:41:22 +0100, Wrinklie One wrote: > Almost forgot, you need a legitimate domain for *pos* which has to be input > in the identities dialog box *generate from* Please excuse me for jumping in on an old thread. I've just today installed Dialog (moved from Gravity), and have been testing this script out on the uk.test newsgroup. It works, but... I originally put in my "false" mail domain (hotmail.com), but then found I was getting sounds when downloading any posts from *anyone* using this domain. So I've now changed the script to my real domain, which will presumably only issue sounds if I download any posts from anyone on this site. But is this OK? Will quoting of news message ids work if *any* domain name is chosen? And if so, why does the domain name have to be legitimate? Thanks in advance for any answer (and apologies for any spelling errors - just realised that the spell checker isn't working!), Mike. -- Dr. Michael Atkinson, GeoQuest Simulation Software Development Note that email address in the headers is cleared monthly and NOT read. Contact me at matkinsonCAPS@LOCKabingdon.geoquest.slb.com (firstly removing the CAPS LOCK).
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads