Main Area and Open Discussion > General Software Discussion
PlayWave.exe + Timed ScreenSaver
(1/1)
brotherS:
Just saw this:
PlayWave.exe by Jim Chevalier - jimbug.org
Version 2.0 - Now plays long wave files.
Description: Plays a wave file directly.
Syntax: PlayWave.exe sound.wav
Platform: Windows 95?, 98 and up.
--- End quote ---
http://www.jimbug.org/downloads/files/PlayWave/
Might come in handy to add sound to batch files/AHK scripts!
TimedSS.exe - by Jim Chevalier - jimbug.org
Description: Runs a program or a screensaver for a set number of seconds.
Optional - low or idle priority.
Run from a batch file or a shortcut.
Syntax: TimedSS.exe seconds [low] a_screensaver.scr
Example: TimedSS.exe 60 low "C:\WINDOWS\system32\ssstars.scr /s"
Note: Use quotation marks around the program's path.
Platform: Windows 98 and up.
--- End quote ---
http://www.jimbug.org/downloads/files/TimedSS/
Could be helpful for scripting too... thinking about how I could use this already :)
jgpaiva:
http://www.jimbug.org/downloads/files/PlayWave/
Might come in handy to add sound to batch files/AHK scripts!
-brotherS (February 13, 2006, 09:22 AM)
--- End quote ---
Come on... You should already know that Ahk has it all :tellme: :tellme:
It can play sounds, check SoundPlay function.
brotherS:
See? AHK has SO many options to offer, I didn't even SEE them all yet! ;D
Gerome:
Hi,
See? AHK has SO many options to offer, I didn't even SEE them all yet! ;D
-brotherS (February 13, 2006, 02:43 PM)
--- End quote ---
Another taste, but no need to have a specific layer here : just pure plain script that natively handles any DLL call...
--- ---#Option Explicit
Const SND_NODEFAULT = &H2
FBSL_GetFileName( "Open WAV", "WAV Files(*.wav)|*.wav", 0 )
If FBSL_GetFileName <> "" Then
$apptype console
Color( 2, 14 )
? ".........WAVE FORM FILE PLAYER................................"
Apicall( "sndPlaySound", "winmm", FBSL_GetFileName, SND_NODEFAULT )
? ".............................................................."
End If
You can try it into my Fbsl Online Compiler to see the result :)
Navigation
[0] Message Index
Go to full version