![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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) |
| Guest | beep sound is there a default beep sound from powershell i can called ? |
My System Specs![]() |
| | #2 (permalink) |
| Guest | Re: beep sound Try: Write-Host `a -- Tom ---------------------------------------------------- Thomas A. Moreau, BSc, PhD, MCSE, MCDBA SQL Server MVP Toronto, ON Canada "IT Staff" <jkklim@xxxxxx> wrote in message news:eUcf2AYWIHA.3556@xxxxxx is there a default beep sound from powershell i can called ? |
My System Specs![]() |
| | #3 (permalink) |
| Guest | Re: beep sound On Jan 17, 10:12*pm, "IT Staff" <jkk...@xxxxxx> wrote: Quote: > is there a default beep sound from powershell i can called ? host: PS> [char]7 but the .NET way to do it is: PS> [console]::Beep() Hope this helps, - Oisin |
My System Specs![]() |
| | #4 (permalink) |
| Guest | Re: beep sound Is it possible to to continous beeping for x seconds using [console] class "Oisin Grehan [MVP]" <oising@xxxxxx> wrote in message news:55ac1d97-0e9e-4734-8aac-c0e7f6272329@xxxxxx On Jan 17, 10:12 pm, "IT Staff" <jkk...@xxxxxx> wrote: Quote: > is there a default beep sound from powershell i can called ? host: PS> [char]7 but the .NET way to do it is: PS> [console]::Beep() Hope this helps, - Oisin |
My System Specs![]() |
| | #5 (permalink) |
| Guest | Re: beep sound Hey IT, the only way I could find, is to do a for loop, to fire the beep event X numbers of times, to create a longer beep. for ($i=0; $i -lt 10;$i++) {[console]::Beep()} You don't really create one long beep, rather a series of beeps. But I checked the MSDN documentation, and nowhere is it listed that there's a "time" parameter for the beep function. Best Regards, Jacob Saaby Nielsen http://www.pipforhelvede.net gmail: jacob DOT saaby hotmail (IM): same as gmail Quote: > Is it possible to to continous beeping for x seconds using [console] > class > > "Oisin Grehan [MVP]" <oising@xxxxxx> wrote in message > news:55ac1d97-0e9e-4734-8aac-c0e7f6272329@xxxxxx > . On Jan 17, 10:12 pm, "IT Staff" <jkk...@xxxxxx> wrote: > Quote: >> is there a default beep sound from powershell i can called ? >> > host: > PS>> Quote: > but the .NET way to do it is: > PS>> Quote: > Hope this helps, > > - Oisin > |
My System Specs![]() |
| | #6 (permalink) |
| Guest | Re: beep sound On Jan 17, 10:51*pm, "IT Staff" <jkk...@xxxxxx> wrote: Quote: > Is it possible to to continous beeping for x seconds using [console] class > > "Oisin Grehan [MVP]" <ois...@xxxxxx> wrote in messagenews:55ac1d97-0e9e-4734-8aac-c0e7f6272329@xxxxxx > On Jan 17, 10:12 pm, "IT Staff" <jkk...@xxxxxx> wrote: > Quote: > > is there a default beep sound from powershell i can called ? > Traditionally ASCII value 7 (BEL) is used to trigger a beep from a > host: > > PS> [char]7 > > but the .NET way to do it is: > > PS> [console]::Beep() > > Hope this helps, > > - Oisin Use: [console]::beep($frequency, $duration) - Oisin |
My System Specs![]() |
| | #7 (permalink) |
| Guest | Re: beep sound Hey Oisin, hrmpf, I had to look at Beep Method, not Beep Function ![]() Parameters frequency Type: System..::.Int32 The frequency of the beep, ranging from 37 to 32767 hertz. duration Type: System..::.Int32 The duration of the beep measured in milliseconds. Best Regards, Jacob Saaby Nielsen http://www.pipforhelvede.net gmail: jacob DOT saaby hotmail (IM/LinkedIN/Facebook): same as gmail Quote: > On Jan 17, 10:51 pm, "IT Staff" <jkk...@xxxxxx> wrote: > Quote: >> Is it possible to to continous beeping for x seconds using [console] >> class >> >> "Oisin Grehan [MVP]" <ois...@xxxxxx> wrote in >> messagenews:55ac1d97-0e9e-4734-8aac-c0e7f6272329@xxxxxx >> ps.com... >> >> On Jan 17, 10:12 pm, "IT Staff" <jkk...@xxxxxx> wrote: >> Quote: >>> is there a default beep sound from powershell i can called ? >>> >> host: >> >> PS> [char]7 >> >> but the .NET way to do it is: >> >> PS> [console]::Beep() >> >> Hope this helps, >> >> - Oisin >> > > Use: [console]::beep($frequency, $duration) > > - Oisin > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Beep sound is gone! | Sound & Audio | |||
| Annoying beep | Vista General | |||
| beep-beep | Vista performance & maintenance | |||
| Beep? | Vista General | |||
| How to disable the warning beep sound | Vista General | |||