I am looking for a way to leave pressed a key assigned to a keyboard shortcut to trigger the script until the user stops pressing it, the script will continue to run until the user stops pressing the key. Is it possible to do it, and any information on how to do it?
i wouldn't give up just yet. As klunk says, the hard bit is working out which one to delete but that isn't necessarily an impossible problem. You need to know what the situation is. eg. if you have two elements that are separate but contiguous it's fairly simple if you've managed to achieve a maya modelling situation and…