Got a new tablet lately, and I'm pretty happy with it, but I'd like to write a script to improve the function of the pen. Unfortunately, I also use a mouse with the tablet occasionally, and the script would mess with the mouse. Is there any way to have a hotkey function only if there is no mouse plugged in?
In case it matters, it's a Samsung Galaxy Book 12.
Get help with using AutoHotkey and its commands and hotkeys
2 posts • Page 1 of 1
maybe u could use https://github.com/jleb/AHKHID/blob/master/AHKHID.ahk to check if the mouse is plugged. i dont know how that works, just throwing it out there