mike2003 Posted May 30, 2018 Share Posted May 30, 2018 I wrote a simple script with sound. And everything was fine. But suddenly the sounds stopped playing. And can not play any more. Even the examples do not work. SoundPlay(@WindowsDir & "\media\tada.wav", 1) What is it? PS but Beep (3000, 100) ok Link to comment Share on other sites More sharing options...
TheXman Posted May 30, 2018 Share Posted May 30, 2018 (edited) What steps have you taken to try to trouble shoot the issue? Have you tried the function with any other sound files? What leads you to believe that it is an AutoIt issue? SoundPlay(), using the latest version of AutoIt, works fine on my machines. Edited May 30, 2018 by TheXman CryptoNG UDF: Cryptography API: Next Gen jq UDF: Powerful and Flexible JSON Processor | jqPlayground: An Interactive JSON Processor Xml2Json UDF: Transform XML to JSON | HttpApi UDF: HTTP Server API | Roku Remote: Example Script About Me How To Ask Good Questions On Technical And Scientific Forums (Detailed) | How to Ask Good Technical Questions (Brief) "Any fool can know. The point is to understand." -Albert Einstein "If you think you're a big fish, it's probably because you only swim in small ponds." ~TheXman Link to comment Share on other sites More sharing options...
mike2003 Posted May 30, 2018 Author Share Posted May 30, 2018 (edited) I tried Autoit just does not make a sound anymore. What else could be the cause of the problem? Edited May 30, 2018 by mike2003 Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted May 30, 2018 Moderators Share Posted May 30, 2018 37 minutes ago, mike2003 said: I tried That doesn't answer the question posed to you. Before delving into "What else could be the cause" we need to know what you have tried to troubleshoot already. Otherwise we are wasting our time going over the same ground you've already tried. Have you even so much as simply rebooted the system? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
mike2003 Posted May 30, 2018 Author Share Posted May 30, 2018 (edited) What can I do? Everything worked, but now there is no sound! This is the problem of the program. In other programs, the sound still works. Edited May 30, 2018 by mike2003 Link to comment Share on other sites More sharing options...
mike2003 Posted May 30, 2018 Author Share Posted May 30, 2018 (edited) Example from help. File ok, but silence. Edited May 30, 2018 by mike2003 Link to comment Share on other sites More sharing options...
Malkey Posted May 30, 2018 Share Posted May 30, 2018 Try the SoundPlay() function's example in the AutoIt help file. Don't use the array returned from the SoundOpen() function as the "filename" parameter in the SoundPlay() function. Link to comment Share on other sites More sharing options...
mike2003 Posted May 30, 2018 Author Share Posted May 30, 2018 (edited) Why do not you read? I have already tried ALL the examples - they no longer sound. Only beep Edited May 30, 2018 by mike2003 Link to comment Share on other sites More sharing options...
mike2003 Posted May 30, 2018 Author Share Posted May 30, 2018 (edited) The sound system of the AutoIt is terrible. On one computer does not play WAV. The other comp play, but can not beep... And there are no errors, no messages, no information about the status of the function.test.zip Edited May 30, 2018 by mike2003 Link to comment Share on other sites More sharing options...
Earthshine Posted May 30, 2018 Share Posted May 30, 2018 (edited) have you tried rebooting? it's worth a shot To see if it's just something that's running that should be terminated hello, IT. Have you tried turning it off an on again. It's so stupid and corny but it works a lot of times Edited May 30, 2018 by Earthshine My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted May 30, 2018 Moderators Share Posted May 30, 2018 You've already been asked if you rebooted, and you have not answered. SoundPlay works for everyone else, so the only common denominator here is you and something you have done, so stop blaming AutoIt. If you want help, you need to work with us and try the things suggested rather than simply complaining. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
PoojaKrishna Posted May 31, 2018 Share Posted May 31, 2018 have you searched forum?Please see the above link. Link to comment Share on other sites More sharing options...
mike2003 Posted May 31, 2018 Author Share Posted May 31, 2018 Quote Please see the above link. useless. I already said that everything worked for me. I do not need the correct code, I have it. Quote Have you tried turning it off an on again. What is "it"? Link to comment Share on other sites More sharing options...
Earthshine Posted May 31, 2018 Share Posted May 31, 2018 (edited) you were asked two times in this thread if you had rebooted your computer. Your computer is it. Have you rebooted and re-run the code? Edited May 31, 2018 by Earthshine My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted May 31, 2018 Moderators Share Posted May 31, 2018 40 minutes ago, mike2003 said: useless. I already said that everything worked for me. I do not need the correct code, I have it. If you have the correct code, and as everyone's suggestions are "useless", there is no need for this thread to remain open. yutijang 1 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Recommended Posts