DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: PlayWave.exe + Timed ScreenSaver  (Read 7,473 times)

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
PlayWave.exe + Timed ScreenSaver
« on: February 13, 2006, 03:22 PM »
Just saw this:

Quote
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.

http://www.jimbug.org/downloads/files/PlayWave/

Might come in handy to add sound to batch files/AHK scripts!



Quote
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.

http://www.jimbug.org/downloads/files/TimedSS/

Could be helpful for scripting too... thinking about how I could use this already :)


Thank you.

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: PlayWave.exe + Timed ScreenSaver
« Reply #1 on: February 13, 2006, 08:36 PM »
http://www.jimbug.org/downloads/files/PlayWave/

Might come in handy to add sound to batch files/AHK scripts!
Come on... You should already know that Ahk has it all  :tellme: :tellme:
It can play sounds, check SoundPlay function.

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
Re: PlayWave.exe + Timed ScreenSaver
« Reply #2 on: February 13, 2006, 08:43 PM »
See? AHK has SO many options to offer, I didn't even SEE them all yet! ;D
Thank you.

Gerome

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 154
Re: PlayWave.exe + Timed ScreenSaver
« Reply #3 on: February 13, 2006, 10:32 PM »
Hi,

See? AHK has SO many options to offer, I didn't even SEE them all yet! ;D

Another taste, but no need to have a specific layer here : just pure plain script that natively handles any DLL call...
Code
#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 :)
Yours,
(¯`·._.·[Gerome GUILLEMIN]·._.·´¯)
http://www.fbsl.net [FBSL Author]
http://gedd123.free.fr/FBSLv3.zip [FBSL Help file]
(¯`·._.·[If you need help... just ask]·._.·´¯)

Original address: https://www.donationcoder.com/forum/index.php?topic=2457.0