Jump to content
Sign in to follow this  
SamSavva

help with music

Recommended Posts

SamSavva

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

Share this post


Link to post
Share on other sites
jvanegmond

Do you mind sharing what errors you are getting? SoundPlay is the way to go.

Share this post


Link to post
Share on other sites
SamSavva

"Line 4 (File "C:\Documents and Settings\account\Desktop\New folder\Game\script.au3"):

SoundPlay "images\song.mp3"

^ERROR

Error: Error parsing function call.

That's the message I'm getting

Share this post


Link to post
Share on other sites
SamSavva

Hmm.. I feel dumb. Forgot to add the ( and ). sorry for this.

Share this post


Link to post
Share on other sites
jvanegmond

It's ok, we're here to make you realise your own mistakes, wether the problem is simple or difficult.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×