Juppie7 Posted July 9, 2008 Share Posted July 9, 2008 (edited) about a year ago or so (more like 4 months) this worked fine... liike... SoundPlay("http://www.ilovewavs.com/Holidays/July4/AmericanPatrol.wav",1) ; supposed to play the wav, and then continue executing But for some reason this doesnt work for me anymore. It just sits there silent for about 30 milliseconds, and then continues executing like nothing happened. No @error or @extended... Any know why this happen? Edited July 9, 2008 by Juppie7 Link to comment Share on other sites More sharing options...
BrettF Posted July 9, 2008 Share Posted July 9, 2008 (edited) Dude the file doesn't exist.... Eh, didn't even know you could do that anyways.... And IMO, you can't. Try this: $url = "http://www.ilovewavs.com/comedy/Comm/beaver2.wav" $to = "test2.wav" $size = InetGetSize ($url) InetGet ($url, $to, 1, 1) ProgressOn ("Downloading Sound...", "Please wait while we download the requested sound.") While @InetGetActive $percent = Round ((@InetGetBytesRead/$size)*100, 0) ProgressSet ($percent, "Downloaded " & @InetGetBytesRead/1024 & "/" & $size/1024 & "KB (" & $percent & "%)") Sleep (50) Wend ProgressOff () SoundPlay ($to, 1) Edited July 9, 2008 by Bert Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Juppie7 Posted July 9, 2008 Author Share Posted July 9, 2008 (edited) I knew someone would call me on that. I just edited my post, cause I was trying to get a technical answer.I was worried that if I gave you the actual link: http://www.ilovewavs.com/Holidays/July4/Am...an%20Patrol.wavyou would say "its cuz of the %20". Wel its not cuz i am using other sounds too from same site or different ones that dont have a space in file name.so yea. ITs http://www.ilovewavs.com/Holidays/July4/Am...an%20Patrol.wavwelp nothing for me to worry about now, since both of those items are covered now. All that left is orig questioin Edited July 9, 2008 by Juppie7 Link to comment Share on other sites More sharing options...
BrettF Posted July 9, 2008 Share Posted July 9, 2008 I click on it, I get a hot linking error.... muttley Also, read my edit. Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Juppie7 Posted July 9, 2008 Author Share Posted July 9, 2008 (edited) woot ty, that works great muttley Edited July 9, 2008 by Juppie7 Link to comment Share on other sites More sharing options...
BrettF Posted July 9, 2008 Share Posted July 9, 2008 Yer. Good luck with whatever this is for muttley Cheers, Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! 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