Run a program when a USB device is connected.
-
- Posts: 2
- Joined: 29 Aug 2020, 07:59
Run a program when a USB device is connected.
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?