Page 1 of 1

Improving program autorun on device connection\disconnection

Posted: Feb 4th, 2009, 11:42 pm
by jis
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

Posted: Feb 5th, 2009, 8:34 am
by Nikolay
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?

Posted: Feb 8th, 2009, 1:10 am
by jis
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).