Thread View: news.software.readers
2 messages
2 total messages
Started by Frank Lekens
Sun, 18 Jan 2004 19:44
play wav sound on reply - except if it's from yourself
Author: Frank Lekens
Date: Sun, 18 Jan 2004 19:44
Date: Sun, 18 Jan 2004 19:44
26 lines
1833 bytes
1833 bytes
I've implemented the script on
http://40tude.com/dialog/wiki/index.php/ScriptSoundOnReply to make Dialog
play a wav sound whenever someone replies to a message of mine.
The script is as follows:
program OnXover;
function PlaySound( Filename: PChar; Options: LongWord ): Boolean;
external 'sndPlaySoundA@winmm.dll stdcall';
procedure OnXover(Var XoverData:TXoverData);
begin
if pos('@RonsDomainUsedInHisMsgIDs.uk',xoverdata.references)>0 then
PlaySound( 'c:\windows\media\tada.wav', 1 );
end;
begin
end.
Can this be changed so as to have Dialog *not* play that wav when the next
addition to the thread comes from myself? So that only other people's
contributions are signalled, not my own?
--
Frank
(xs4all dot nl is where it's really @)
Re: play wav sound on reply - except if it's from yourself
Author: Blinky the Shark
Date: Mon, 19 Jan 2004 10:02
Date: Mon, 19 Jan 2004 10:02
18 lines
1552 bytes
1552 bytes
Frank Lekens wrote:
<snippety snip...
> if pos('@RonsDomainUsedInHisMsgIDs.uk',xoverdata.references)>0 then
> PlaySound( 'c:\windows\media\tada.wav', 1 );
<...snip>
> Can this be changed so as to have Dialog *not* play that wav when the next
> addition to the thread comes from myself? So that only other people's
> contributions are signalled, not my own?
Stop talking to yourself, Frank. ;)
--
Blinky Linux RU 4892F
Happily slrning again.
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