litlmike Posted April 14, 2006 Posted April 14, 2006 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. _ArrayPermute()_ArrayUnique()Excel.au3 UDF
evilertoaster Posted April 14, 2006 Posted April 14, 2006 Do you mean somthing else than what the FileInstall function does?
Valuater Posted April 14, 2006 Posted April 14, 2006 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)
litlmike Posted April 14, 2006 Author Posted April 14, 2006 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! _ArrayPermute()_ArrayUnique()Excel.au3 UDF
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