Jump to content
Sign in to follow this  

Disable Sound

Recommended Posts

I have a script that disables the desktop/taskbar

opt('WinTitleMatchMode', 4)

WinSetState('classname=Shell_TrayWnd', '', @SW_DISABLE);Disabling Taskbar/Tray
WinSetState('classname=Progman', '', @SW_DISABLE);Disabling Desktop

But when I click the desktop while it's locked, it makes that "bing" sound...-,-

Is there any way to have that sound automatically disabled?

Also, if the mouse were disabled, would it still make the sound if I tried to click?

Edited by AreS

Share this post

Link to post
Share on other sites

Could use.

SoundSetWaveVolume (0)

Edit: Actaully instead of just setting the volume to zero no matter what you could use.

While 1
   $msg = GUIGetMsg()
      SoundSetWaveVolume (0)
      SoundSetWaveVolume (100)

I'm not sure if it would turn the sound down before the sound is played or not.

Edited by Burrup


Share this post

Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...