cancelling a specific keypress

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HaLo2FrEeEk
    Contributor
    • Feb 2007
    • 404

    cancelling a specific keypress

    I have an application that will capture all keypresses on the machine while the program is running. I have a problem with my fiancee using my computer and muting it, then leaving it muted when she finishes. Once or twice was ok, it happens every day though and I've told her to stop and she doesn't, so I'm writing an application.

    Basically what I want to happen is when she presses the mute button on the keyboard, it'll pop up a messagebox telling her not to do that, then will automatically unmute the speakers. I can get it to capture the Keys.VolumeMute button and display the messaebox, but I can NOT get it to unmute the speakers. I've tried looking for volume controls, using sendkeys, I just can't figure it out. Can anyone help me?
  • GaryTexmo
    Recognized Expert Top Contributor
    • Jul 2009
    • 1501

    #2
    I don't know the answer but your story is so awesome I'm going to try to find some time this weekend to play around and see if I can come up with anything helpful :)

    Stop-gap measure, put tape over the mute button?

    Comment

    • ThatThatGuy
      Recognized Expert Contributor
      • Jul 2009
      • 453

      #3
      Originally posted by HaLo2FrEeEk
      I have an application that will capture all keypresses on the machine while the program is running. I have a problem with my fiancee using my computer and muting it, then leaving it muted when she finishes. Once or twice was ok, it happens every day though and I've told her to stop and she doesn't, so I'm writing an application.

      Basically what I want to happen is when she presses the mute button on the keyboard, it'll pop up a messagebox telling her not to do that, then will automatically unmute the speakers. I can get it to capture the Keys.VolumeMute button and display the messaebox, but I can NOT get it to unmute the speakers. I've tried looking for volume controls, using sendkeys, I just can't figure it out. Can anyone help me?
      Create a different login for your fiancee...

      Comment

      • HaLo2FrEeEk
        Contributor
        • Feb 2007
        • 404

        #4
        Originally posted by ThatThatGuy
        Create a different login for your fiancee...
        That wouldn't help, she's not the most knowledgeable person when it comes to computers, and as simple as it is, I'm sure she'd manage to log out of my account instead of simply switching accounts, which would keep my stuff running still. Even when I leave my computer I keep a lot of windows open from things that I was working on, and I don't want them closed so when I come back I can remember to go back to those projects. If she logged off my account it would close those windows. I'm doing this as sort of a scare tactic, she presses the mute button and my computer silently sends me an email with the time it happened, then I text message her and tell her to unmute it...how did I know?! She'll freak out and stop muting the computer.

        Comment

        • GaryTexmo
          Recognized Expert Top Contributor
          • Jul 2009
          • 1501

          #5
          Haha, this thread is awesome :D

          I'm very much reminded of http://www.plasma2002.com/blenderdefender/

          My hat of you to, sir!

          Comment

          • UpsideDownTire
            New Member
            • Oct 2009
            • 7

            #6
            Originally posted by GaryTexmo
            Haha, this thread is awesome :D

            I'm very much reminded of http://www.plasma2002.com/blenderdefender/

            My hat of you to, sir!
            Gary,

            re: blender defender LMFAO !!!11 I hope HaLo2FrEeEk comes up with something fun. A familiar dialog box often gets ignored. Maybe, after x number of times, a shocking scary face appears on screen with a scream. ;-)

            UDT

            Comment

            Working...