Jump to content

Recommended Posts

Posted (edited)

How can i play a Soundfile included into my script with fileinstall, without installing it. i mean directly from the script.

Edited by Arterie
Posted

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.

Posted

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.

Posted

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

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
×
×
  • Create New...