maurizio1974
02-27-2006, 04:30 PM
Hi
my question is on how to make MEL check for a button pressed on the keyboard like the "shift" button, so that in that case I can execute different code.Basically what I need to do is to execute a mel script that selects all the control on a specific herarchy based on the selection of a proxy object attached to the rig ( that part I already figured out ) what I need to have is if something is selected and the script is run again to select the other hierarchy I am trying to select, like first the control rig of the right arm than the left if the shift button is pressed on the keyboard.
hope I am clear enough on the explanation.
thank you in advance
my question is on how to make MEL check for a button pressed on the keyboard like the "shift" button, so that in that case I can execute different code.Basically what I need to do is to execute a mel script that selects all the control on a specific herarchy based on the selection of a proxy object attached to the rig ( that part I already figured out ) what I need to have is if something is selected and the script is run again to select the other hierarchy I am trying to select, like first the control rig of the right arm than the left if the shift button is pressed on the keyboard.
hope I am clear enough on the explanation.
thank you in advance