This method worked great.  Thanks, Michiel.

I copied the chimes.wav file to the web server: C:\inetpub\wwwroot\

Created a chimes.htm file on the web server with these contents:
<html><body><bgsound src=https://remedydev/chimes.wav></body><html>

Set the hidden View Field on the Remedy form to:
"https://remedydev/chimes.htm";

The only drawback is pulling a 55KB file (chime.wav) each time. I tried
using "File:///C:\Windows\Media\Chimes.wav" but it opens up the Windows
Media Player to play the wav. 

Stephen


-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Michiel Beijen
Sent: Thursday, April 12, 2007 10:42 AM
To: [EMAIL PROTECTED]
Subject: Re: Playing a sound via Run Process

Hi Sharon,

Please refer to this great post from Doug Blair on the list back in
2006:
http://www.nabble.com/Best-way-to-play-sounds--tf2378023.html#a6644936
He uses a view field, this removes the need of run process actions.

Using Run Process it would be tricky to hide the media player window.

--
Met vriendelijke groet / Kind regards
Michiel Beijen
______________________________________________________
MANSOLUTIONS
Energieweg 60-62
3771 NA Barneveld
The Netherlands
Tel. +31-(0)612968592
Mail [EMAIL PROTECTED]
Internet http://bsm.mansolutions.nl


On 4/12/07, Menachem, Sharon <[EMAIL PROTECTED]> wrote:
> **
>
> Hi,
>
>
> ARS 5.1.2 patch 1484
> Win 2003
> SQL 2000 SP3
>
> I am trying to play a sound when a particular window opens up in the
user
> tool and I am trying to use regular command line syntax to do that. In
fact
> I went so far as to copy the syntax word for word from the admin tool
help!
>
> This is the syntax in the Run Process: C:\Software\I386\cmd.exe
> %windir%\system32\mplay32.exe %windir%\Media\chimes.wav
>
> As you can see from the log the string is translated correctly but it
fails
> to play the sound - the error: Failed!
>
> <ACTL>               Process: "C:\Software\I386\cmd.exe
> C:\WINDOWS\system32\mplay32.exe C:\WINDOWS\Media\chimes.wav"
> <ACTL>                  **** Failed
> <ACTL>                  Return Code: 0l
>
> With that very useful error message I am at a loss to know what the
problem
> is.
>
> Is there a better way to do this?
>
> Your help is as always greatly appreciated.
>
> Thanks,
> Sharon
>
>
>   __20060125_______________________This posting was
> submitted with HTML in it___

________________________________________________________________________
_______
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where
the Answers Are"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to