Generally speaking, that's exactly what you use macros for.
For example: You press 'ON'
The receiver turns on (which turns on everything else INCLUDING THE TV)
You press CABLE:
The receiver switches to the cable input
The TV turns to the correct input for cable
The remote flips to the cable control page
You press DVD:
The receiver switches to the DVD input
The TV turns to the correct input for DVD
The remote flips to the DVD control page
Advanced control systems go a lot further and don't require power on buttons, they just track the current state of any device connected to the system. If the TV is off, the system turns on the TV, then waits for the TV to warm up, then puts the TV on the correct input. The next time you pick a different source, the system knows the TV is on, so it just flips to the correct input right away.
Lots of remotes out there, but reliability and usability are the most important factors