Jump to content

Disable a certain windows sound


Caleb7
 Share

Recommended Posts

When you press any key on the desktop or inside a folder, it makes a "bliiing" sound if there is no file starting with the letter you pressed.  I just want the sound to not happen. If there is a file that starts with the letter you pressed, it tries to select that file and there is no sound.  What I am trying to do is make it so I won't hear this sound even if there is no file that matched.

Someone suggested I do HotkeySet, and the sound goes away for that key.  I want to replicate that without setting hotkeys, because I don't need hotkeys for anything.

I wish I had some examples of code I have tried, but unfortunately I haven't got the faintest clue for where to start.  I am not new to autoit and I could use some guidance in the right direction for this.

 

Thanks!

 

Link to comment
Share on other sites

  • Moderators

I guess I am not understanding why you need code. If you don't want a particular sound, go into control panel>>change system sounds and disable the appropriate sound.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

you could write a script to disable the windows default sounds. but why? because on my system at work, every time I boot it resets back to default sounds, possibly due to our domain policies and such. anyway, a script that runs as task is what you want in that case, run it after user login, windows sounds set to nothing and you won't hear it anymore ever... lol

My resources are limited. You must ask the right questions

 

Link to comment
Share on other sites

This is where you change sounds

HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default

Spoiler

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Inconspicuous - Hide files in plain sight, not fully encrypted.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Link to comment
Share on other sites

On 2/25/2019 at 10:14 AM, Earthshine said:

you could write a script to disable the windows default sounds. but why? because on my system at work, every time I boot it resets back to default sounds, possibly due to our domain policies and such. anyway, a script that runs as task is what you want in that case, run it after user login, windows sounds set to nothing and you won't hear it anymore ever... lol

Yes this is why I need it.

 

On 2/25/2019 at 8:17 AM, Bert said:

here is the answer you are looking for: http://bfy.tw/MTD8
It will tell you exactly how to deal with that sound issue.

I wondering if there was anything inside autoit to do it, I've google'd it already, no need to be a cuck.

 

On 2/25/2019 at 11:29 AM, careca said:

This is where you change sounds

HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default

Thank you.

Link to comment
Share on other sites

HotKeySet() does not deactivate the sound. HotKeySet() simply doesn't forward the keystroke to the active window, and the active window does not respond to the keystroke of course.

This is actually described in the help file just below the form.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...