| View previous topic :: View next topic |
| Author |
Message |
Laguna2
Joined: 22 Mar 2007 Posts: 4
Digg It |
Posted: Thu Mar 22, 2007 4:36 pm Post subject: GlovePie: Launch app +play +close? |
|
|
Hi
I've tried many times now, and I can't figure out what's wrong...
I want to make a script that opens sound-recorder (or what it's called in english windows) then play a sound and close again.
Now, I've come so far that it's:
Execute("E:\WINDOWS\System32\sndrec32.exe") = [something]
But to get it to play a sound and close afterward, shouldn't it be:
Execute("E:\WINDOWS\System32\sndrec32.exe -play '[filename]' -close")?
At least something like that :p |
|
| Back to top |
|
 |
Laguna2
Joined: 22 Mar 2007 Posts: 4
Digg It |
Posted: Thu Mar 22, 2007 6:22 pm Post subject: |
|
|
Okay, moved on a little by myself:
Execute("E:\WINDOWS\System32\sndrec32.exe", "[filename]"), space = numpad1
But close? Of course alt+f4, but it closes immediatly after the program executes... (meaning i don't hear the sound before it closes)
Help? |
|
| Back to top |
|
 |
TylerK

Joined: 18 Dec 2006 Posts: 384 Location: Springfield, IL
Digg It |
Posted: Thu Mar 22, 2007 7:02 pm Post subject: |
|
|
Why exactly are you wanting to do this? If you just want to play a wav, you could use this GlovePIE function:
| Code: | | PlaySound(filename) |
|
|
| Back to top |
|
 |
|