Hi Burr, no problem.
> Could I see one example added to this script that
> would toggle the sensativity back to a default value,
> say of 1, if it was already at .1
If you want to have a shortcut that just sets it directly to 1 on a certain keypress, use:
script: /* Set view button sensitivity */ moi.view.zoomButtonSensitivity = 1.0;
If you want just one single shortcut that flips back and forth between 0.1 and 1.0 every time you press it, that is also possible, here is that one:
script: /* Toggle view button sensitivity */ if ( moi.view.zoomButtonSensitivity != 1.0 ) { moi.view.zoomButtonSensitivity = 1.0; } else { moi.view.zoomButtonSensitivity = 0.1; }
- Michael
|