Staredit Network > Forums > Technology & Computers > Topic: Looking for a program that detects mouse position and forces key
Looking for a program that detects mouse position and forces key
Feb 23 2015, 6:21 am
By: LoveLess  

Feb 23 2015, 6:21 am LoveLess Post #1

Let me show you how to hump without making love.

So basically, I am looking for a program that I can set up a system that will do the following:

When I hold down my Right Mouse Button and have my mouse within a certain set of X/Y coordinates, it will perform a certain action. I need to be able to continuously hold down the RMB and move my mouse around, but it will keep updating depending on where my mouse is positioned.

Splitting up the screen into eight cardinal directions, W for the up-center, WA for the upleft-center, A for the left-center, etc.



None.

Feb 23 2015, 3:20 pm NudeRaider Post #2

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

http://www.autohotkey.com/

Seems to be pretty powerful despite being open source.
Comes with a couple handy features:
- record (and convert to an editable script) mouse and keyboard input
- add script syntax to popular text editors like notepad++
- monitor window that shows cursor position and more
- tutorial
- decent Windows integration




Feb 23 2015, 8:54 pm rockz Post #3

ᴄʜᴇᴇsᴇ ɪᴛ!

second on AHK.

http://www.autohotkey.com/docs/commands/MouseGetPos.htm
Seems a simple if-then statement where MouseGetPos is run for the X and Y positions.

http://www.autohotkey.com/docs/commands/WinGetActiveTitle.htm
I would also recommend using WinGetActiveTitle to make sure you only issue said commands when you're in the game.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Feb 25 2015, 3:57 pm LoveLess Post #4

Let me show you how to hump without making love.

Thanks guys, have got it working... To an extent. It's a bit too... unnatural so I have bailed on it entirely, just not fluid enough for an ARPG game and it's better to just use their WASD controls than deal with the minor delay.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-9-14. : 3:21 pm]
Oh_Man -- Racoon City Remastered*
[2026-9-14. : 3:21 pm]
Oh_Man -- Join the front line SEN, DEFEND MANKIND. 2030 is just a number! https://scmscx.com/map/2fHHj96p
[2026-9-14. : 3:21 pm]
Oh_Man -- from the maker of the legendary Architect RPG, the peerless Racoon City, the capitvating One Piercing Note, comes another creation minutes in the making
[2026-9-14. : 11:15 am]
Oh_Man -- heh heh thanks for the minerals suckers, now it's time to quit while i'm ahead
[2026-9-14. : 1:01 am]
Oh_Man -- Heroes of the Storm literally died and was revived before we got next SC game. Wb Loveless, u cooking any UMS for us?
[2026-9-13. : 11:35 pm]
LoveLess -- getting diablo 5 and wow 4 before starcraft ghost
[2026-9-13. : 9:22 pm]
RIVE -- To be fair, I used to post custom emotes back when I still used the forums.
[2026-9-13. : 12:54 pm]
l)ark_ssj9kevin -- RIVE
RIVE shouted: 💯
holy shit did you just use an emoji on SEN that feels illegal 🍆
[2026-9-13. : 10:24 am]
Moose -- Heinermann
Heinermann shouted: new era of SC and it's just some shooter they're gonna cancel before 2030
StarCraft 2: Ghost 2, The Reghostening
[2026-9-13. : 3:38 am]
Symmetry -- :wob:
Please log in to shout.


Members Online: MobMob, Symmetry, Sie_Sayoka