litlmike Posted April 14, 2006 Share 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 Link to comment Share on other sites More sharing options...
evilertoaster Posted April 14, 2006 Share Posted April 14, 2006 Do you mean somthing else than what the FileInstall function does? Link to comment Share on other sites More sharing options...
Valuater Posted April 14, 2006 Share 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) Link to comment Share on other sites More sharing options...
litlmike Posted April 14, 2006 Author Share 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 Link to comment Share on other sites More sharing options...
Valuater Posted April 14, 2006 Share Posted April 14, 2006 Welcome 8) 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