GeeMac, it will work. Its been done. Paint one can white and one can black, set them a foot apart in the sunlight just inside a window, check with your hand in 30 minutes.
The concrete runways on Midway Island were colored black so they would be hotter at lunchtime. That way there were no birds on the much hotter runway when planes would land about 2:00. This dramatically reduced expensive bird damage to planes.
Most people don't want to block a window view, so the common method is to make a glass-covered box with the vertical stacks of dark aluminum cans inside. An insulated clothes dryer exhaust flex-tube can pull cold air from the floor up through a window, then down where it enters the bottom of the collector. The hot rising air can be ducted from the top of the collector back into the window.
One guy just permanently mounted it on the outside of a south wall, with two holes in the wall. One hole low, one high.
Setting a temporary collector inside a window will work too. The thermosiphon flow (hot air rising without a pump) directs and increases the airflow past the window. Without a flowing collector, the air in the rooms sunlight will warm some, and the air at the far end of the room will stay cool.
Inside these links there are even more similar links, read them all.
http://www.fieldlines.com/story/2008/4/3/23655/59321
Solar hot air collector, aluminum soda cans
http://www.fieldlines.com/story/2008/7/9/02425/95131
Solar hot air collector, garage door