Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

SoundPlay() over network

$
0
0

Hi All,

 

The code:

 

SoundPlay("C:Windows\media\tada.wav")

 

will correctly play the sound when running the script locally (Win7 32 bit, computer name="computer1").  However when I then transfer the script to a second computer (identical OS, computer name="computer2"), and run the script over the network from "computer1," the sound does not play.  The sound file is located in the exact same directory on each computer.  @computername resolves to "computer1" when I run the script from "computer1."  I am also sitting in front of each computer with the sound fully operational on both, so if AutoIt is trying to play the sound on "computer2," I should be able to hear it.  Am I doing something wrong, or is there some issue with playing a sound over a network?  In this case do I have to specify a full path name, including computer name?


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>