It sounds like you’re looking for to program a universal remote (like GE, One For All, Philips, or a cable/satellite remote).