Popeye1 Posted February 22, 2010 Posted February 22, 2010 (edited) I started using a script that normally works fine on a xp or vista machine, now on a windows 7 pc and the beep doesn't make any sound. Tried it on another windows 7 pc, same thing, does anyone know if it's not possible or how to make it work on win 7? The beep sound is an extremely important part of my script and to be unable to use it on updated machines is a bit poor. Edited February 22, 2010 by Popeye1
wolf9228 Posted February 23, 2010 Posted February 23, 2010 All these functions Does not work Beep Function Reference Beep ( [ Frequency [, Duration ]] ) http://www.autoitscript.com/autoit3/docs/functions/Beep.htm http://msdn.microsoft.com/en-us/library/ms679277(VS.85).aspx Function Reference #Include <WinAPI.au3> _WinAPI_Beep($iFreq = 500, $iDuration = 1000) http://msdn.microsoft.com/en-us/library/ms680356(VS.85).aspx Function Reference #Include <WinAPI.au3> _WinAPI_MessageBeep([$iType = 1]) صرح السماء كان هنا
Richard Robertson Posted February 23, 2010 Posted February 23, 2010 Beep is disabled because most machines no longer have internal speakers. If you must have an audible response, play a sound file.
Popeye1 Posted February 23, 2010 Author Posted February 23, 2010 Beep is disabled because most machines no longer have internal speakers. If you must have an audible response, play a sound file.Is there something under help about how to play a sound file?
Richard Robertson Posted February 23, 2010 Posted February 23, 2010 Yes. AutoIt has a function called SoundPlay.
Minikori Posted February 23, 2010 Posted February 23, 2010 1) please wait 24 hours to bump a post, not 1. 2) Beep() works on mine, it's just that it doesn't use the internal speaker, it plays a windows sound. For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com
corgano Posted February 23, 2010 Posted February 23, 2010 (edited) I find that odd, I use beep, and it does work. It just comes out the speakers instead. EDIT: missed Minikori's post, my bad. I don't think beep() should be removed. If it works for some, then leave it. And maby ammend the help file with "It comes out on speakers in win 7" Edited February 23, 2010 by corgano 0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e
Richard Robertson Posted February 23, 2010 Posted February 23, 2010 Better yet, it should be specified that 64 bit versions of Windows Vista and Windows 7 do not support the Beep function.
Bert Posted February 23, 2010 Posted February 23, 2010 (edited) Good to know. I use PCBeacon which has the PC speaker beep as a important part to it. I will have to make some changes to the script. edit: grammmer Edited February 23, 2010 by Volly The Vollatran project My blog: http://www.vollysinterestingshit.com/
rvdmast Posted February 23, 2010 Posted February 23, 2010 What’s up with the Beep driver in Windows 7?"Earlier today, someone asked me why 64bit versions of windows don’t support the internal PC speaker beeps. The answer is somewhat complicated and ends up being an interesting intersection between a host of conflicting tensions in the PC ecosystem..."
Richard Robertson Posted February 24, 2010 Posted February 24, 2010 I enjoyed that article. Good find.
trancexx Posted February 24, 2010 Posted February 24, 2010 I enjoyed that article. Good find.For some reason I find it to be, in lack of a better expression, shallow. ♡♡♡ . eMyvnE
Richard Robertson Posted February 24, 2010 Posted February 24, 2010 For some reason I find it to be, in lack of a better expression, shallow.Care to elaborate?
trancexx Posted February 24, 2010 Posted February 24, 2010 Care to elaborate?It's subjective unelaborative impression, nothing else. I expected more. ♡♡♡ . eMyvnE
Richard Robertson Posted February 24, 2010 Posted February 24, 2010 It's subjective unelaborative impression, nothing else. I expected more.Subjective from the writer's point of view or Microsoft's?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now