Arterie Posted October 11, 2007 Share Posted October 11, 2007 (edited) How can i play a Soundfile included into my script with fileinstall, without installing it. i mean directly from the script. Edited October 11, 2007 by Arterie Link to comment Share on other sites More sharing options...
DW1 Posted October 11, 2007 Share Posted October 11, 2007 Don't know if there is a way without EVER installing it, but you could put it in a temp dir and then delete. Might be a way to read it out of the compiled exe, but I don't know if on compile if the included files get re encoded or not. AutoIt3 Online Help Link to comment Share on other sites More sharing options...
Arterie Posted October 11, 2007 Author Share Posted October 11, 2007 Thy you for your answer. I'll do it like this. But it takes a bit of time to install a 15 mb file (for me up to 10 secs),I dont want to know the time on slower pcs. But I look forward to somebody knowing a way,who will tell me. Link to comment Share on other sites More sharing options...
DW1 Posted October 11, 2007 Share Posted October 11, 2007 (edited) Does anybody know how the fileinstall files sit in the final exe? are they re-encoded with the final exe? Edited October 11, 2007 by danwilli AutoIt3 Online Help Link to comment Share on other sites More sharing options...
Blue_Drache Posted October 11, 2007 Share Posted October 11, 2007 As far as playing directly? No. Installing to a temp folder and then erasing after is the best bet.Size reduction options: Re-encode the .wav file, or use an MP3.See SoundPlay() or the _Sound* in the #include <Sound.au3> Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache 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