Can the Arduino do this - power source switch

Now that makes sense and is doable.
The only real problem seems to be 'I've become quite interested in the Arduino' and am looking forward to doing stuff with it.
I suppose i could do both ? but for now the grey cells are happily tinkering with the Arduino project, detail and incidental - keeps them perky.
Thanks again for that idea