Two Point Hospital

Two Point Hospital

View Stats:
Reyni Mar 17, 2019 @ 9:01am
AutoHotKey for patient management
Hey,

Additionallt to someone who previously posted a MiniMouseMacro for sending patients home / for treatment, here is an AutoHotKey script that does the same thing.

Install AutoHotKey - Create new script - Copy the following into the script - Save script - Run script.

This is mapped to the WQHD resolution as well (2560x1440), Forward and Back mouse buttons, you will need to suspend / quit AHK when using the buttons outside of the game. It returns the mouse back to a position roughly in the Patient window.
I have added Sleep because it seems that my PC is not able to keep up with the fast mouse movements, so it needs a moment before the mouse is clicked.

XButton2::
CoordMode, TargetType Mouse, RelativeTo Screen
MouseMove, 2381, 944, 5,
Sleep, 500
MouseClick, left, , , 1, 5,
MouseMove, 815, 560, 5,
return

XButton1::
CoordMode, TargetType Mouse, RelativeTo Screen
MouseMove, 2321, 944, 5,
Sleep, 500
MouseClick, left, , , 1, 5,
MouseMove, 815, 560, 5,
return



Tested, works. Please let me know if you have some improvements.
Date Posted: Mar 17, 2019 @ 9:01am
Posts: 0