I need some sort of electrical device which would combine the output of a switched electrical outlet with a programmable timer plugged into a non-switched outlet. Then I would plug lamps into said electrical device, and have the timer set to be on only from 10 minutes before my alarm goes off in the morning, to 10 minutes before I need to leave for work. This way I could turn my lamps off at night, the timer would turn them on in the morning, then turn them off right before I leave for work, and then when I come back, I can use the wall switch to turn them off and on as I please.
I'm pretty sure this cannot be done and would most likely short out, but the way I visualize this is something like an extension cord with two outlets, and then put Male to Male adapters on the outputs and a Female to Female adapter on the input.
From what I've read, it seems what I'm looking for is very similar to a redundant power strip, however these are $150+ and I'm looking for $25 and under. I'm guessing there would also need to be some sort of relay to switch which power source is being used to power the power strip, and to prevent any shorts.
Switched Outlet -> || || -> Lamps Normal Outlet -> Timer -> || ^ | Mystery Electrical Component