SamSavva Posted November 2, 2006 Share Posted November 2, 2006 i have a little script, and i'd like it to play a song when you open the script, i have the script in \images\songname.mp3 what would the scripting be to put the song when i open the script? i have tried SoundPlay but i get error messages, so if anyone could help that would be great Link to comment Share on other sites More sharing options...
jvanegmond Posted November 2, 2006 Share Posted November 2, 2006 Do you mind sharing what errors you are getting? SoundPlay is the way to go. github.com/jvanegmond Link to comment Share on other sites More sharing options...
SamSavva Posted November 2, 2006 Author Share Posted November 2, 2006 "Line 4 (File "C:\Documents and Settings\account\Desktop\New folder\Game\script.au3"):SoundPlay "images\song.mp3"^ERRORError: Error parsing function call.That's the message I'm getting Link to comment Share on other sites More sharing options...
SamSavva Posted November 2, 2006 Author Share Posted November 2, 2006 Hmm.. I feel dumb. Forgot to add the ( and ). sorry for this. Link to comment Share on other sites More sharing options...
jvanegmond Posted November 2, 2006 Share Posted November 2, 2006 It's ok, we're here to make you realise your own mistakes, wether the problem is simple or difficult. github.com/jvanegmond Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now