Run a program when a USB device is connected.

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
insanoglu1
Posts: 2
Joined: 29 Aug 2020, 07:59

Run a program when a USB device is connected.

Post by insanoglu1 » 23 Jun 2021, 14:16

So my mouse has a driver that only opens when the mouse is plugged in (it closes upon disconnecting). My USB port has issues so it disconnects automatically sometimes. Is there any way to detect when a USB device is connected and then run a program?

Return to “Ask for Help (v1)”