DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: DONE: Stop mouse movement when a hotkey is pressed...  (Read 29,686 times)

Hirudin

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 543
DONE: Stop mouse movement when a hotkey is pressed...
« on: April 07, 2006, 06:51 AM »
      WANTED
      FOUND
  Reward: 10Т
Program that will
temperially disable
mouse movement
when a hotkey is
        held.

I need a lil' program that will stop mouse movement while a hot key is pressed. What I need this for is so that I can use Maomi to start the screensaver, then pick up my mouse and place it in it's charger without de-activating the screen saver.
« Last Edit: April 07, 2006, 10:44 AM by Hirudin »

noth(a)nk.you

  • More than meets the eye.
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 78
Re: IDEA: Stop mouse movement when a hotkey is pressed...
« Reply #1 on: April 07, 2006, 06:56 AM »
I have the cure for what ails you--I had the exact same problem.

Check out this freeware app, Screen Saver Control.

Set the option 'Use continuous mode' to 3 secs and you're good to go.

I have a shortcut in a launch bar to pass the parameter '-poweroff' (shuts off the monitor) [but you can also pass '-screensaver' to activate the screensaver].

To use this with Maomi, set it to open the .lnk when the mouse hovers in your designated spot.

Cheers!

Hirudin

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 543
Re: IDEA: Stop mouse movement when a hotkey is pressed...
« Reply #2 on: April 07, 2006, 06:58 AM »
Try StopMouse.ahk (or StopMouse.exe). It uses the f8 hotkey to toggle mouse movement and right and left click.

Thanks! But it actually isn't working exactly like I need it to. The curser kindof pulsates around where it's frozen.

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • Participated in NANY Challenge Twice
    • Coding Snacks
Re: IDEA: Stop mouse movement when a hotkey is pressed...
« Reply #3 on: April 07, 2006, 07:27 AM »
:) Try BlockInput!

BlockInput - Press Ctrl-Q to disable all input for 5 seconds.

Features:
- Change hotkey and delay.

You'll find the downloads and more info at 1 Hour Software by Skrommel.

Skrommel
« Last Edit: April 07, 2006, 09:30 AM by skrommel »

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: IDEA: Stop mouse movement when a hotkey is pressed...
« Reply #4 on: April 07, 2006, 10:15 AM »
Try StopMouse.ahk (or StopMouse.exe). It uses the f8 hotkey to toggle mouse movement and right and left click.
Thanks! But it actually isn't working exactly like I need it to. The curser kindof pulsates around where it's frozen.
:( As you didn't describe what it was supposed to do, i did my best to comply to your needs, since there is no way to exclusivelly block the mouse in AHK (one can only block all the input, both mouse and keyboard, like skrommel proposed).
But i think that skrommel's solution can solve your needs, no?


« Last Edit: April 07, 2006, 10:23 AM by jgpaiva »

Hirudin

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 543
Re: IDEA: Stop mouse movement when a hotkey is pressed...
« Reply #5 on: April 07, 2006, 10:41 AM »
Wow cool! Capitalism works!

Skrommel, BlockInput worked perfectly! Thank you!

Quote from: "jgpaiva"
As you didn't describe what it was supposed to do, i did my best to comply to your needs, since there is no way to exclusivelly block the mouse in AHK (one can only block all the input, both mouse and keyboard, like skrommel proposed).
Yeah, I realised that I haden't described my needs in the first post after I tried stopmouse...

I figure for this one, you both get the reward.

noth(a)nk.you, I think this might be something I'll use too...

DONATIONCREDITS for everyone!
« Last Edit: April 07, 2006, 10:45 AM by Hirudin »

Original address: https://www.donationcoder.com/forum/index.php?topic=3108.0