This script takes all current selected objects - and if they have 'targets' - selects the targets as well - keeping the inital objects still selected.
For example - you can select a target camera and target spot - but not their targets - run this script - and the targets are ADDED to the selection.