Lee Bussy Posted September 20, 2006 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?
Somebody Someware Posted September 20, 2006 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!
dabus Posted September 21, 2006 Posted September 21, 2006 No, I think he wants to have this: http://www.autoitscript.com/forum/index.ph...ic=9947&hl=
Lee Bussy Posted September 22, 2006 Author 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!
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