Jump to content

Recommended Posts

Posted

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!

 

  • Moderators
Posted

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!

Posted

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

 

Posted

This is where you change sounds

HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default

  Reveal hidden contents

IUIAutomation - Topic with framework and examples

Au3Record.exe

Posted
  On 2/25/2019 at 3:14 PM, 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

Expand  

Yes this is why I need it.

 

  On 2/25/2019 at 1:17 PM, 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.

Expand  

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 4:29 PM, careca said:

This is where you change sounds

HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default

Expand  

Thank you.

Posted

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.

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
  • Recently Browsing   0 members

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