Caleb7 Posted February 25, 2019 Share Posted February 25, 2019 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 More sharing options...
Moderators JLogan3o13 Posted February 25, 2019 Moderators Share Posted February 25, 2019 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. Earthshine 1 "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 More sharing options...
Bert Posted February 25, 2019 Share Posted February 25, 2019 here is the answer you are looking for: http://bfy.tw/MTD8 It will tell you exactly how to deal with that sound issue. FrancescoDiMuro 1 The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Earthshine Posted February 25, 2019 Share Posted February 25, 2019 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 More sharing options...
careca Posted February 25, 2019 Share Posted February 25, 2019 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 More sharing options...
Caleb7 Posted February 26, 2019 Author Share Posted February 26, 2019 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 More sharing options...
Caleb7 Posted February 26, 2019 Author Share Posted February 26, 2019 Basically I was wondering how HotKeySet works to disable the sound so I could replicate it, but it's all good, I'll just edit the registry on boot. careca 1 Link to comment Share on other sites More sharing options...
LarsJ Posted March 2, 2019 Share Posted March 2, 2019 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. Controls, File Explorer, ROT objects, UI Automation, Windows Message MonitorCompiled code: Accessing AutoIt variables, DotNet.au3 UDF, Using C# and VB codeShell menus: The Context menu, The Favorites menu. Shell related: Control Panel, System Image ListsGraphics related: Rubik's Cube, OpenGL without external libraries, Navigating in an image, Non-rectangular selectionsListView controls: Colors and fonts, Multi-line header, Multi-line items, Checkboxes and icons, Incremental searchListView controls: Virtual ListViews, Editing cells, Data display functions Link to comment Share on other sites More sharing options...
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