Article View: news.software.readers
Article #165698Re: [dialog] play sound script error
From: Korbinian Abenthum
Date: Fri, 22 Apr 2005 16:28
Date: Fri, 22 Apr 2005 16:28
31 lines
2075 bytes
2075 bytes
A.Translator wrote:
[script]
> On compiling this error is given:
> [error] OnXOver.ds (6.1): Identifier expected.
Hmm. Which line is #6?
If I put the following into my OnXOver-event-script
-- 8< -- snip -- 8< --
function PlaySound( Filename: PChar; Options: LongWord ): Boolean;
external 'sndPlaySoundA@winmm.dll stdcall';
procedure OnXover(Var XoverData:TXoverData);
begin
if pos('@www.translatoria.com',xoverdata.references)>0 then
PlaySound( 'c:\windows\media\chimes.wav', 1 );
end;
begin
end.
-- 8< -- snap -- 8< --
it compiles just fine.
(Although I did not test if it's actually working)
--
"I am no stranger to Valyrian steel." - Joffrey Baratheon
Technical Details
Message-ID:
<220405.182843.nsr.1@news.abenthum.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mailReferences:
<qdxp6sdht6p7$.dlg@www.translatoria.com>Show Full Headers
Complete Article Headers
Message-ID: <220405.182843.nsr.1@news.abenthum.de>
Subject: Re: [dialog] play sound script error
Date: Fri, 22 Apr 2005 18:28:43 +0200
From: Korbinian Abenthum <korbinian@gmx.de>
References: <qdxp6sdht6p7$.dlg@www.translatoria.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.20140922.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail
Newsgroups: news.software.readers
Organization: T-Online
Lines: 31
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.t-online.com 1114187306 05 16839 AI9nr1MvhJtKEHG 050422 16:28:26
X-Complaints-To: usenet-abuse@t-online.de
X-ID: Glzd8YZdoeFM2sF5F1rOtJZ8uCs3owheCkaB8EFNd9oVxQOnQrDVoc
X-Now-Playing: The Corrs - Time Enough For Tears
User-Agent: 40tude_Dialog/2.0.15.1 Hamster/2.0.6.0
X-Face: &[gF$*:|'M7pwKut]{LOz!&65BT96:Wn\M"V6Qa#q%~9^z8XhJfmh?.)VB{,
p]Z`6q@e()! g1ghrG7.atG.DXfzulkKE%u~|D7?e6^-yN4GvZJuvz%$LZBA6`dJTo,
MYUO%I*0us[.v/AT,