HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows Vista

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-14-2007, 08:20 AM
Mark
 
Posts: n/a
Default Getting my computer to make a sound every second

Can I get my computer to make a sound every second and if so can I control
its volume?
--
Mark
keeffe
Reply With Quote
Sponsored Links
  #2  
Old 11-14-2007, 11:35 AM
dzomlija
 
Posts: n/a
Default Re: Getting my computer to make a sound every second


Mark;513351 Wrote:
> Can I get my computer to make a sound every second and if so can I
> control its volume?
> --
> Mark
> keeffe


Question: Why would you want that? Isn't a constant beeping every
second going to get annoying after a few minutes?


--
dzomlija

____________________________________
Peter Alexander Dzomlija
Do you hear, huh? The Alpha and The Omega? Death and Rebirth? -And as
you die, so shall I be Reborn-...

- ASUS A8N32-SLI-Deluxe
- AMD Atlon 64 Dual-Core 4800+
- 4GB DDR400
- ASUS nVidia 6600
- Thermaltake Tai-Chi Watercooled Chassis
- 1207GB Total Formatted Storage
- Vista Ultimate x64
- CodeGear Delphi 2007'http://dzomlija.spaces.live.com/' (http://dzomlija.spaces.live.com/)
Reply With Quote
  #3  
Old 11-14-2007, 10:41 PM
Andrew McLaren
 
Posts: n/a
Default Re: Getting my computer to make a sound every second

"Mark" <Mark@discussions.microsoft.com> wrote in message
news:511F90E0-3E43-4D0C-8B69-A83FF0A7003A@microsoft.com...
> Can I get my computer to make a sound every second and if so can I control
> its volume?


It would pretty simple to write as a short program, or a script, to provide
this feature.

I'll assume you're not a programmer (or you'd already know how to do this).
For non-programmers, scripting is probably the better solution that
programming. An operating system cannot provide ever function that users
might ever conceivably want; so usually it provides a fairly general pupose
tool you can ue to create features for yourself. On Vista, this takes 3
forms: batch files, Windows Script Host (generally, VBScript); and
PowerShell. Scripts are similar to programs, in that you write a series of
imperative statements using a specific syntax. But script languages are
generally much easier to use and require far fewer lines of code. To get you
beep per second, you'll be looking at about 10 to 20 lines of script. In
C++, it might take 50 to 100 lines.

See here for more informatuin about scripting in Windows:

http://www.microsoft.com/technet/scr...r/default.mspx

The following script will sound a "beep" character (ie, ^G) every 1,000
milliseconds:

' =====================================
set wshShell = Wscript.CreateObject("wscript.Shell")
beep = chr(007)
Do While True
WshShell.Run "cmd /c @echo " & beep, 0
WScript.Sleep( 1000 )
Loop

' =====================================

Not I haven't tested this extensively, you would probably want to refine it
somewhat. There is no volume control. Some machines "beep" ^G quite softly,
it's a function of the hardware.

Hope it helps,

--
Andrew McLaren
amclar (at) optusnet dot com dot au


Reply With Quote
  #4  
Old 11-15-2007, 01:38 AM
Mark
 
Posts: n/a
Default Re: Getting my computer to make a sound every second

I'm learning to speed read and it calls for a sweep of your hand across the
page and back again every second. The sound helps get the rhythm right
--
Mark
keeffe


"dzomlija" wrote:

>
> Mark;513351 Wrote:
> > Can I get my computer to make a sound every second and if so can I
> > control its volume?
> > --
> > Mark
> > keeffe

>
> Question: Why would you want that? Isn't a constant beeping every
> second going to get annoying after a few minutes?
>
>
> --
> dzomlija
>
> ____________________________________
> Peter Alexander Dzomlija
> Do you hear, huh? The Alpha and The Omega? Death and Rebirth? -And as
> you die, so shall I be Reborn-...
>
> - ASUS A8N32-SLI-Deluxe
> - AMD Atlon 64 Dual-Core 4800+
> - 4GB DDR400
> - ASUS nVidia 6600
> - Thermaltake Tai-Chi Watercooled Chassis
> - 1207GB Total Formatted Storage
> - Vista Ultimate x64
> - CodeGear Delphi 2007'http://dzomlija.spaces.live.com/' (http://dzomlija.spaces.live.com/)
>

Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make sound when CAP LOCKS turned on or off? queen of hearts Windows XP 7 08-25-2007 12:08 AM
Sound outputs on computer cases Terry Homebuilt PC 2 08-18-2007 10:02 PM
When i put sound blaster live in computer computer boots and no screen HELP!! Bartmank11 Dell 4 05-04-2007 11:03 PM
howto make computer into DVR: TV-tuner-card or set-top-box interface? David H. Cook DVD Recordables 0 04-17-2007 05:10 PM
my computer can not make a two communication with my printer please help me... Microsoft Office 2 03-28-2007 03:05 PM


All times are GMT. The time now is 12:08 PM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger