| View previous topic :: View next topic |
| Author |
Message |
Autex675
Joined: 10 May 2008 Posts: 15
|
Posted: Sat May 10, 2008 11:55 pm Post subject: Stop sound within timer? |
|
|
In one of my scripts, a sound file is launched using the "Soundplay" command within a timer. How can I immediately stop the timer thread and the sound file without having to wait for the sound file to finish playing?

Last edited by Autex675 on Sun May 11, 2008 7:27 pm; edited 1 time in total |
|
| Back to top |
|
 |
Superfraggle
Joined: 02 Nov 2004 Posts: 970 Location: London, UK
|
Posted: Sat May 10, 2008 11:56 pm Post subject: |
|
|
| Quote: | | To stop a file that is currently playing, use SoundPlay on a nonexistent filename as in this example: SoundPlay, Nonexistent.avi |
I.E
| Code: | | Esc::SoundPlay, Nonexistent.avi |
_________________ Steve F AKA Superfraggle
http://r.yuwie.com/superfraggle |
|
| Back to top |
|
 |
se4e Guest
|
Posted: Sun May 11, 2008 12:06 am Post subject: |
|
|
Its weird how new users post in this forum.  |
|
| Back to top |
|
 |
|