SafelyRemove.com Forum
http://safelyremove.com/forum/

Improving program autorun on device connection\disconnection
http://safelyremove.com/forum/viewtopic.php?f=2&t=178
Page 1 of 1

Author:  jis [ Wed Feb 04, 2009 11:42 pm ]
Post subject:  Improving program autorun on device connection\disconnection

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:
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:
C:\Program Files\cmd\ChangeMouseScrollLines -1

Example B) - After disabling a device
Code:
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:
C:\Program Files\cmd\ChangeMouseScrollLines 3

Author:  Nikolay [ Thu Feb 05, 2009 8:34 am ]
Post subject: 

We will implement this function in the nearest future.

Question: Can you run this command:

Code:
C:\Program Files\cmd\ ChangeMouseScrollLines 3


before removing the device?

Author:  jis [ Sun Feb 08, 2009 1:10 am ]
Post subject: 

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:
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).

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/