Improving program autorun on device connection\disconnection

Post Reply
jis
Posts: 4
Joined: Feb 4th, 2009, 10:36 pm

Improving program autorun on device connection\disconnection

Post by jis » 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 device

Code: Select all

The device has been loaded
Generic Bluetooth Adapter
I need to call program which change scrolling by pages, because I'll use mouse wheel with stepping:

Code: Select all

C:\Program Files\cmd\ChangeMouseScrollLines -1
Example B) - After disabling a device

Code: Select all

The device has been removed
Generic Bluetooth Adapter
I need to call program which change scrolling by lines, because I'll use touch pad with vertical scrolling area:

Code: Select all

C:\Program Files\cmd\ChangeMouseScrollLines 3
User avatar
Nikolay
Developer
Posts: 30
Joined: Nov 1st, 2007, 12:42 pm
Contact:

Post by Nikolay » Feb 5th, 2009, 8:34 am

We will implement this function in the nearest future.

Question: Can you run this command:

Code: Select all

C:\Program Files\cmd\ ChangeMouseScrollLines 3
before removing the device?
jis
Posts: 4
Joined: Feb 4th, 2009, 10:36 pm

Post by jis » Feb 8th, 2009, 1:10 am

I am sorry for delay.
Nikolay wrote:We will implement this function in the nearest future.
Great! Thanks.
Nikolay wrote:Question: Can you run this command:

Code: Select all

C:\Program Files\cmd\ ChangeMouseScrollLines 3
before removing the device?
No, I can't because I don't switch off Bluetooth Adapter by USB Safely Remove, but by HW switch on my nb. That is the reason, why I need option for action after removing/disabling a device by other tool, not by USB Safely Remove itself (post mortem action).
Post Reply