For some reason none of these options work for me but I figured it out:. I ended up doing was using a run process with the following syntax: sndrec32 /play /close /embeding c:\windows\media\chimes.wav
The embedding switch makes sure that the application itself is not seen. Thanks for all the help. Sharon -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Heider, Stephen Sent: Thursday, April 12, 2007 5:58 PM To: [EMAIL PROTECTED] Subject: Re: Playing a sound via Run Process 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" *********************************************************************************** This email message and any attachments thereto are intended only for use by the addressee(s) named above, and may contain legally privileged and/or confidential information. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the [EMAIL PROTECTED] and destroy the original message. *********************************************************************************** _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers Are"

