Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 03, 2016, 05:43:56 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: PlayWave.exe + Timed ScreenSaver  (Read 2957 times)

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,136
    • View Profile
    • Donate to Member
PlayWave.exe + Timed ScreenSaver
« on: February 13, 2006, 09:22:06 AM »
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.or...oads/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.or...loads/files/TimedSS/

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



jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: PlayWave.exe + Timed ScreenSaver
« Reply #1 on: February 13, 2006, 02:36:05 PM »
http://www.jimbug.or...oads/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,136
    • View Profile
    • Donate to Member
Re: PlayWave.exe + Timed ScreenSaver
« Reply #2 on: February 13, 2006, 02:43:51 PM »
See? AHK has SO many options to offer, I didn't even SEE them all yet! ;D

Gerome

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 154
    • View Profile
    • Get my Freestyle Basic Script Language + compiler!
    • Donate to Member
Re: PlayWave.exe + Timed ScreenSaver
« Reply #3 on: February 13, 2006, 04:32:14 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...
#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]·._.·´¯)