Lee Bussy Posted September 20, 2006 Share Posted September 20, 2006 I have a .wav file (I think it's .wav, working from memory) that will play on occasion. I would like to be able to determine via scripting if that file is in use. Something like: while not file_in_use(filename) sleep(1000) wend ... something like that. Possible? Ideas for implementation? Link to comment Share on other sites More sharing options...
Somebody Someware Posted September 20, 2006 Share Posted September 20, 2006 I have a .wav file (I think it's .wav, working from memory) that will play on occasion. I would like to be able to determine via scripting if that file is in use. Something like: while not file_in_use(filename) sleep(1000) wend ... something like that. Possible? Ideas for implementation? You can play a sound and let the script pause until the sound has ended with the following command. SoundPlay ( "filename" , 1 ) Is this what you mean? Go to This site for my best product! Link to comment Share on other sites More sharing options...
dabus Posted September 21, 2006 Share Posted September 21, 2006 No, I think he wants to have this: http://www.autoitscript.com/forum/index.ph...ic=9947&hl= Link to comment Share on other sites More sharing options...
Lee Bussy Posted September 22, 2006 Author Share Posted September 22, 2006 No, I think he wants to have this: http://www.autoitscript.com/forum/index.ph...ic=9947&hl=Thats it exactly, thanks for the help! 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