Remote Control

This sound like something I would like to do with remote control. Get Attribute from currently selected object from certain type. ex: a spot light.
Did you manage to achieve your goal?