Get help with using AutoHotkey and its commands and hotkeys
Posts: 557
Joined: 05 Oct 2016, 13:00


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.
Posts: 4130
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”

Who is online

Users browsing this forum: Google [Bot], hasantr, swrong, try_else_finally, Xeo786 and 39 guests