![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | 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 |
My System Specs![]() |
| | #2 (permalink) |
| Windows Vista x64 Ultimate | Re: Getting my computer to make a sound every second |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Getting my computer to make a sound every second "Mark" <Mark@xxxxxx> wrote in message news:511F90E0-3E43-4D0C-8B69-A83FF0A7003A@xxxxxx Quote: > Can I get my computer to make a sound every second and if so can I control > its volume? 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 |
My System Specs![]() |
| | #4 (permalink) |
| | 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: Quote: > > Mark;513351 Wrote: Quote: > > 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/) > |
My System Specs![]() |
| | #5 (permalink) |
| Windows Vista x64 Ultimate | Re: Getting my computer to make a sound every second |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| No Sound Make T go Nutz can anybody help | Sound & Audio | |||
| How to make the computer faster | Software | |||
| I cannot make my computer faster! | Vista performance & maintenance | |||
| Couldnt make the sound work | Vista music pictures video | |||
| How to make computer sleep remotely? | Vista General | |||