Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

aspect on windows 2007

Status
Not open for further replies.

WYREDAWG

Technical User
Feb 1, 2003
70
US
i am trying to trigger a .wav file using aspect on a windows 2007 machine. when i did this on an XP machine i had no problems. I have another script that i am using with the script below to monitor my SL-100 LOGS and play specific sounds for alarm conditions. Below is the script i am using:

proc main
mciexec "SOUND C:\WINDOWS\Media\test.wave"
endproc



 
This works OK on my Win7 laptop, playing tada.wav out of the same directory listed in your script. Do you receive an error of any sort? If you check for success/failure from the mciexec command, what does ASPECT report?

proc main
mciexec "SOUND c:\windows\media\tada.wav"
if success
usermsg "success"
else
usermsg "failure"
endif
endproc

 
i used this exact script on mine and i do get the success confirmation but i dont get the audio playback, all i get is at the bottom of the Procomm window is:

Scripts-Start/Stop Script

i know that my media player is working fine becasue i can go directly to it and play the .wav file. Its weird, I just started noticing this on my latest batch of new computers.
 
yes, its very strange casue this just started happening even with last pc that i have XP loaded on.
 
all the pc's are on a private network that i administer so there are not any higher level restrictions that are happening. let me try completely reloading a fresh copy of Procomm. I was copying some of the aspect and other config folders over the ones after installed it. Maybe thats casuing the corruption. i will let you know what i find.
 
thats was the problem, i completely uninstalled Procomm and installed a fresh copy. Now i can use the scheduler and my script are working properly again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top