Jump to content

Activating Mouse Keys with Autoit


Recommended Posts

I have been trying to use the send command to turn on Mouse Keys, but I'm not having any luck. I have used:

Send("{LALT}{LSHIFT}{NUMLOCK on}"); //also off, toggle

Send("!+{NUMLOCK on");//also off, toggle

Any better way to do this. Left Shift+ Left Alt + Numlock works normally...

Thanks

Link to comment
Share on other sites

Why not nose about in the registry? I have my mouse-keys shut off. And for a reason. I can't tell you how many times I've been playing a game and hit shift several times in a row, or ctrl, or whatever... Windows pops up and says "OH HAI! I AM PAPERCLIP!! YOU SUMMONED ME!!" ... often stealing focus from a full-screen application.

Tweaking a setting inside the registry is much more elegant than brute-forcing it with SEND()

Edited by Blue_Drache

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Link to comment
Share on other sites

The registry thing would probably work; I'm going to investigate that. Right now I am using this thing called "Mouse Emulator" and just "taskkill"ing it when I don't need it.

I'd still like to know the more general answer of why this doesn't work; it seems pretty elegant to me just to send the hotkey that toggles it on/off instead of sending .reg files back and forth.

Anyway, thinks.

Link to comment
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
 Share

  • Recently Browsing   0 members

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