#IfMousePluggedIn?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
MaxAstro
Posts: 557
Joined: 05 Oct 2016, 13:00

#IfMousePluggedIn?

18 Jun 2018, 12:59

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.
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: #IfMousePluggedIn?

18 Jun 2018, 14:57

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

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Descolada, NinjoOnline and 241 guests