Improving program autorun on device connection\disconnection
Posted: Feb 4th, 2009, 11:42 pm
I really like program autorun options:
1) after connecting a device
2) before removing a device
But I terribly miss another option:
3) after removing/disabling a device (by other tool, not by USB Safely Remove itself)
I have a question:
I need to start exe with command line parameters, but it didn't work:
Example A) - After connecting a deviceI need to call program which change scrolling by pages, because I'll use mouse wheel with stepping:
Example B) - After disabling a device
I need to call program which change scrolling by lines, because I'll use touch pad with vertical scrolling area:
1) after connecting a device
2) before removing a device
But I terribly miss another option:
3) after removing/disabling a device (by other tool, not by USB Safely Remove itself)
I have a question:
I need to start exe with command line parameters, but it didn't work:
Example A) - After connecting a device
Code: Select all
The device has been loaded
Generic Bluetooth Adapter
Code: Select all
C:\Program Files\cmd\ChangeMouseScrollLines -1
Code: Select all
The device has been removed
Generic Bluetooth Adapter
Code: Select all
C:\Program Files\cmd\ChangeMouseScrollLines 3