Sign in to follow this  
Followers 0
litlmike

Soundplay. Compile File Into Script?

5 posts in this topic

I would like to play a sound file on any PC that uses my script (I can make it any format). However, none of the PC will have this custom sound file. Is there a way to compile the sound file into the .exe, so that it can play the sound file?

As far as I can tell, SoundPlay only plays an exisiting sound file in a exisiting directory.

Share this post


Link to post
Share on other sites



Do you mean somthing else than what the FileInstall function does?

Share this post


Link to post
Share on other sites

i use this

$Sound_bar = @TempDir & "\Sound_bar.wav"
    FileInstall("C:\XPClean-web\Settings\XPClean-pics\Sounds\xpinfbar.wav", $Sound_bar)


    SoundPlay ($Sound_bar,1)

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

i use this

$Sound_bar = @TempDir & "\Sound_bar.wav"
    FileInstall("C:\XPClean-web\Settings\XPClean-pics\Sounds\xpinfbar.wav", $Sound_bar)
    SoundPlay ($Sound_bar,1)

8)

Thanks!

Share this post


Link to post
Share on other sites

Welcome

8)


NEWHeader1.png

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