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?