Sign in to follow this  
Followers 0
autoitman1

Soundplay() filepath?

5 posts in this topic

If you do not specify a filepath for this and just the name of the .wav...like...

soundplay("sound1.wav")

does it just look for the .wav in whatever directory the script or built application is in?

thank you

Share this post


Link to post
Share on other sites



I would assume it looks in the working directory. Why are you asking? If you want to access a file from the scripts directory you would normally use the @ScriptDir macro.

soundplay(@ScriptDir & "\sound1.wav")

Share this post


Link to post
Share on other sites

sorry, what exactly is a working directory?

thank you :)

Share this post


Link to post
Share on other sites

i kind of get it lol, will do more reading later :)

thanks alkex

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  
Followers 0