is this possible through scripting.

usually if we click on any command icon, it reacts to single click only.

but i want this...

i would like to hold the left mouse button on any command icon to affect continuously despite of one time. 

please must answer. 

if possible, please someone help what to do.