[Ji...] Posted March 30, 2021 Share Posted March 30, 2021 Please sign in to view this quote. That is my file path there too. Link to comment Share on other sites More sharing options...
[Ji...] Posted April 6, 2021 Share Posted April 6, 2021 The highlighted on the attachment is what we were missing. That was a bear to figure out when you don't know what is missing.Batch file to open media player.pdf Link to comment Share on other sites More sharing options...
[Gu...] Posted April 6, 2021 Share Posted April 6, 2021 Here is a private macro, that I programmed for CALYPSO in 2005. Use in CALYPSO: File / Macro / Integrate Macro / The macro plays a soudfile, if the results are in tolerance, out of tolerance or in the warning limit. You can use different soundfiles for each case. Set the correct paths and then test.MessungOK.zipMessungOK.zip Link to comment Share on other sites More sharing options...
[Er...] Posted April 10, 2021 Share Posted April 10, 2021 I use VLC media player. I change to the "inspections" directory, it plays and exits. No lingering wmplayer in the way. cd C:/Users/Public/Zeiss/Calypso/home/om/workarea/inspections start /b "" C:\"Program Files"\VideoLAN\VLC\vlc.exe --play-and-exit inspection_end.wav exit Link to comment Share on other sites More sharing options...
[Ha...] Posted February 1, 2023 Share Posted February 1, 2023 I noticed the batch file script will open the WMplayer, but will not close it. So i edit the scrip, now after 3 sec playing, the WMplayer will close automatically.inspection_end.zip Link to comment Share on other sites More sharing options...
[Ma...] Posted February 1, 2023 Share Posted February 1, 2023 VLC should close after playback automatically Link to comment Share on other sites More sharing options...
[Ri...] Posted April 4, 2023 Share Posted April 4, 2023 Please sign in to view this quote. Once I added the .wav file to the inspections folder the .bat command works for me. It still plays the original sound afterwards, but that doesn't bother me. I needed to have something louder that I can hear over the presses banging. 😐 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in